NameError: name 'false' is not defined

遇到这个问题,一般是因为eval无法解析null, true, false之类的数据

可以在用eval之前加上这些代码,就不会有问题

global false, null, true
false = null = true = ''

猜你喜欢

转载自blog.csdn.net/u012550037/article/details/83588289