global false, null, true false = null = true = ''#解决eval() 不能处理false问题 a = "{"1":"dd"}" if not a:#如果a为空,不能用eval return b=eval(a)