标签:span print color port .json pre import pytho install
pip install json5
a.json:
{
‘a‘:‘b‘,
‘aa‘:[‘b1‘,‘b2‘]
}
===========================
import json5
a = json5.load(open("./a.json","r"))
print a
===========================
{‘a‘: ‘b‘, ‘aa‘: [‘b1‘, ‘b2‘]}
标签:span print color port .json pre import pytho install
原文地址:http://www.cnblogs.com/mhc-fly/p/7227609.html