摘要:
创建字典对象时: D1=dict('name'='Bob','age'=20,'score'=90) SyntaxError: keyword can't be an expression 解决方法: 去掉变量的单引号'' D1=dict(name='Bob',age=20,score=90) 补充 阅读全文
posted @ 2020-10-05 13:54
ShineLe
阅读(4231)
评论(0)
推荐(0)
摘要:
0、常用 本节为python中json的常见用法总结,初学者请从下一节开始开 Json在Python中的表现形式为dict、list两种 从dict、list转为json: import json d=dict(name='Bob',age=20,score=90) station=json.dum 阅读全文
posted @ 2020-10-05 13:52
ShineLe
阅读(138)
评论(0)
推荐(0)

浙公网安备 33010602011771号