global false, null, true
false = null = true = ''#解决eval() 不能处理false问题
a = "{"1":"dd"}"
if not a:#如果a为空,不能用eval
return
b=eval(a)
str转dict
阅读 57
2022-01-26
global false, null, true
false = null = true = ''#解决eval() 不能处理false问题
a = "{"1":"dd"}"
if not a:#如果a为空,不能用eval
return
b=eval(a)
相关推荐
精彩评论(0)