I want to be able to list only the directories inside some folder. This means I don\'t want filenames listed, nor do I want additional sub-folders.
Let\'s see if an
Using list comprehension,
[a for a in os.listdir() if os.path.isdir(a)]
I think It is the simplest way