Joii-Han-CO

Results 2 comments of Joii-Han-CO

我改成这样了 def getConfigJson(): cur_path = os.path.split(__file__)[0] + '/config.json' with open(cur_path) as file: jsonStr = json.loads(file.read()) return jsonStr

我也有同样的问题 有什么思路吗,我可以帮你做些东西