摘要:
导入json文件报错,TypeError expected string or buffer原因:用字符串赋值后,python会把双引号转换为单引号import jsondata = [{"a": 1, "b": 2, "c": 3, "d": 4, "e": 5}]print(type(data),data)执行结果: [{'a': 1, 'b': 2, 'c': 3, 'd': 4, 'e':... 阅读全文
posted @ 2019-03-29 10:08
阳光宝贝-沐沐
阅读(1516)
评论(0)
推荐(0)

浙公网安备 33010602011771号