10 lines
204 B
Python
10 lines
204 B
Python
# -*- coding:utf8 -*-
|
|
import os
|
|
|
|
|
|
# 生成路径列表文件
|
|
# os.system("dir /b/s/p/w *.jpg > neg.txt")
|
|
os.system("find " + os.path.abspath(os.curdir) + " -name '*.jpg' > neg.txt")
|
|
|
|
# os.system("pause")
|