📜  python 获取目录中的文件 - Python 代码示例

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

代码示例6
(_, _, filenames) = os.walk(mypath).next() #if you are confident that the walk will return at least one value