摘要:
import os# os.listdir()方法获取文件夹名字,返回数组def getAllFiles(targetDir): listFiles = os.listdir(targetDir) return listFilesfiles = getAllFiles(r"E:\UEtest\sla 阅读全文
posted @ 2023-06-26 16:45
安琪儿一直在
阅读(297)
评论(0)
推荐(0)
摘要:
import osimport sysdirname = "C:/Users/admin/Desktop/二维引擎"# 判断文件夹dirname是否存在if not os.path.exists(dirname): print("error: folder \"", dirname, "\" not 阅读全文
posted @ 2023-06-26 16:41
安琪儿一直在
阅读(484)
评论(0)
推荐(0)

浙公网安备 33010602011771号