# -*- coding:utf8 -*- import os # 生成路径列表文件 os.system("dir /b/s/p/w *.jpg > pos.txt") os.system("pause")