update,
This commit is contained in:
10
vinniesniper-54816/task1/_lab/007-test/posdata/_GenTXT.py
Normal file
10
vinniesniper-54816/task1/_lab/007-test/posdata/_GenTXT.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# -*- coding:utf8 -*-
|
||||
import os
|
||||
|
||||
|
||||
# 生成路径列表文件
|
||||
#
|
||||
# os.system("dir /b/s/p/w *.jpg > pos.txt")
|
||||
os.system("find " + os.path.abspath(os.curdir) + " -name '*.jpg' > pos.txt")
|
||||
|
||||
# os.system("pause")
|
Reference in New Issue
Block a user