我的代码是这样的,我不清楚exit (0)和exit (其他数字)。我给了自己一些时间,但我没有足够的清理自己
from sys import exit
class Scene(object):
def enter(self):
print "This scene is not yet configured"
exit(1)发布于 2017-05-29 12:31:04
exit(0)表示干净的退出,没有错误
exit(1)表示出现错误,这就是退出的原因
https://stackoverflow.com/questions/44234593
复制相似问题