import json
class Students(object):
def read(self):
print r'["Tim","Bob","Alice"]'
s = Students()
print json.load(s)
结果输出来但是出现警告Traceback (most recent call last)
但是如果把print换成return就好了 这是为什么呢
添加回答
举报
0/150
提交
取消