摘要: python生产exe后,计划任务运行异常,手工点击却是正常的 是因为==计划任务设定的时候,设定错了 (不追参数写法,,你就会读取文本txt失败,,程序没错,,运行找不到文件) 参考文献: http://t.zoukankan.com/litj-p-5579914.html 阅读全文
posted @ 2022-07-19 19:59 猴年马月 阅读(140) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: UTF-8 -*- # 1.导入shutil包 import os import shutil path=r"D:\ftp下载" try: os.path.exists(path)==True #判断文件/文件夹是否存在 # 2.删除文件夹 shutil.rmtree(r 阅读全文
posted @ 2022-07-19 09:20 猴年马月 阅读(223) 评论(0) 推荐(0) 编辑