How to list immediate subdirectories in Python - Kite

文章推薦指數: 80 %
投票人數:10人

Listing the immediate subdirectories of a path gives the list of directories contained ... Call glob.glob(search_pattern) to search the current directory for anything matching search_pattern , which should be set to "*/" to return only directories.



請為這篇文章評分?