python定时删除指定路径下目录及文件

python中os.remove可递归删除指定目录和文件: import os import time dirPath=r"D:\ftp" while True: for root, dirs, files in os.walk(dirPath, topdown=False): for name in files: os.remove(os.path
相关文章
相关标签/搜索