Files
vinniesniper-54816/task1/_lab/007-test/negdata/_GenTXT.py
louiscklaw 3b0b154910 update,
2025-02-01 01:19:51 +08:00

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")