你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
朱政
赞同来自:
不二痞子 - GIS思维创始人,https://gisthink.ke.qq.com/
dd683280
uuiitwp
import os import time import sys def main(): if sys.version[0:1] != '3': print('ERROR:need python3!') return i = 0 j = 0 for root,dirs,files in os.walk('c:\\'): for file in files: filepath = os.path.join(root,file) nowtime = time.time() try: fileinfo = os.stat(filepath) if fileinfo.st_atime - nowtime > 1000 or fileinfo.st_mtime - nowtime > 1000: os.utime(filepath,None) j = j + 1 except: i = i + 1 print('PermissionError:' + filepath) print('All files completed,failed files number is '+ str(i) +',successed files number is '+ str(j)) if __name__ == '__main__': main()
要回复问题请先登录或注册
4 个回复
朱政
赞同来自:
这里有一篇文章,题目为: Error: The System Clock has been set back to the past. This is not allowed!,你可以参考。
http://support.esri.com/en/knowledgebase/techarticles/detail/24575
不二痞子 - GIS思维创始人,https://gisthink.ke.qq.com/
赞同来自:
dd683280
赞同来自:
uuiitwp
赞同来自:
ps:arcgis还是应该装虚拟机里吧hhhhhhhhhh(逃
要回复问题请先登录或注册
发起人
相关问题
问题状态
—— 扫技术支持中心微信服务号!
—— 让GIS知乎问答随时随地!