import os
for filename in os.listdir(r'Data/names-2018'):
print(filename)
Python 获取目录下全部文件名
最新推荐文章于 2024-08-23 16:53:34 发布
import os
for filename in os.listdir(r'Data/names-2018'):
print(filename)