代码

2017-12-22  本文已影响0人  我是谁的小超人

获取指定文件夹下的文件夹目录
import os.path
sub_dirs = [x[0] for x in os.walk(file_dir)]

上一篇 下一篇

猜你喜欢

热点阅读