即使代码中未使用 False 也出现错误"Name error:name false is not defined "


Error-
Traceback(most recent call last)
"hidden"=false
Name error:name false is not defined

我正在使用docker来容器使我的python脚本化。图像成功地构建了,但是当我运行容器时,我会遇到错误。我没有在代码中的任何地方指定" false",但是我也会得到错误可能理解这一点。需要一些帮助

没有看到您的代码,我只能猜测,但是似乎您正在编写false而不是False。Python对病例敏感。正确的拼写是骆驼f

最新更新