10 2021 档案

摘要:import jsonwith open(filedir, 'r') as load_f: load_dict = json.load(load_f) with open(filedir, "w") as f: json.dump(load_dict, f, indent=4) #indent:格式 阅读全文
posted @ 2021-10-08 13:45 九里九里 阅读(141) 评论(0) 推荐(0)
摘要:# -*- coding: utf-8 -*-import osdef findAllFile(base): v=[] for root, ds, fs in os.walk(base): # print(root) # print('DS=',ds) # print('FS=',fs) for f 阅读全文
posted @ 2021-10-07 21:35 九里九里 阅读(329) 评论(0) 推荐(0)