Как получить все папки на пути на питоне
os.walk(directory)
[x[0] for x in os.walk(directory)]
Comfortable Cow
os.walk(directory)
[x[0] for x in os.walk(directory)]