📜  python list subdirectories - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:18.623000             🧑  作者: Mango

代码示例2
os.walk(directory)
[x[0] for x in os.walk(directory)]