json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
关于这个问题,先上源码import jsondef greet_user(): filename = 'username.json' try: with open(filename) as f_obj: username = json.load(f_obj) except FileNotFoundError: username = input("what's your name?: ") with ope
原创
2020-10-07 23:01:09 ·
122 阅读 ·
0 评论