摘要: ``` json.loads() 是将字符串传化为字典 json.dumps () 是将字典转化为字符串 ``` ``` >>> dict = "{8:'bye', 'you':'coder'}" #假字典 fake >>> print type(dict) >>> print dict {8:'bye', 'you':'coder'} # 哟呵,输出 >>> dict_real = {... 阅读全文
posted @ 2019-06-24 14:13 苏小北1024 阅读(365) 评论(0) 推荐(0)