import json
def VPrint(content):
print json.dumps(content, encoding='utf-8', ensure_ascii=False,indent=1)
VPrint(some_dict)
Created
March 6, 2017 07:56
-
-
Save rambolee/73563a6e4c2dfddb76fea97f1d3c639b to your computer and use it in GitHub Desktop.
python 打印 dict 方法
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment