Closed JeffChien closed 8 years ago
I'm trying to build this project with pyinstaller and ran into the problem with exit() v.s sys.exit() the original code will throw NameError: name 'exit' is not defined
exit()
sys.exit()
NameError: name 'exit' is not defined
according to the official document https://docs.python.org/2/library/constants.html#exit
we should use sys.exit() instead
Thx!
I'm trying to build this project with pyinstaller and ran into the problem with
exit()
v.ssys.exit()
the original code will throwNameError: name 'exit' is not defined
according to the official document https://docs.python.org/2/library/constants.html#exit
we should use
sys.exit()
instead