摘要: """获取当前目录"""print(os.getcwd())print(os.path.abspath(os.path.dirname(__file__)))"""获取上一级目录"""print(os.path.abspath(os.path.dirname(... 阅读全文
posted @ 2021-05-18 17:26 bH1pJ 阅读(121) 评论(0) 推荐(0) 编辑
摘要: exist('../../../../YJY_GUI/software_try.json') 阅读全文
posted @ 2021-05-18 16:38 bH1pJ 阅读(82) 评论(0) 推荐(0) 编辑
摘要: def updateConfigFile(self,result): with open('software_try.json', 'w') as f: json.dump(result, f) 阅读全文
posted @ 2021-05-18 16:09 bH1pJ 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 返回值就是widget,可以直接拿来用。 阅读全文
posted @ 2021-05-18 15:47 bH1pJ 阅读(86) 评论(0) 推荐(0) 编辑