load json文件时常见错误以及修正总结(亲测有效)
示例1:json_file=’/home/mashagua/my_pycharm/hr_plot/data/address.json’with open(json_file,‘r’) as jf:data=json.loads(jf)错误1:TypeError: the JSON object must be str, bytes or bytearray, not ‘TextIOWrapp...
原创
2019-03-29 08:43:17 ·
7375 阅读 ·
1 评论