直接运行.py 时正常。 py2exe 打包成.exe 时提示 input()错误,错误提示:
Traceback (most recent call last):
  File "updater.py", line 177, in <module>
  File "updater.py", line 102, in init
RuntimeError: input(): lost sys.stdin
177 行:
init()
102 行上下是:
def init():
    max = input()
|      1imlonghao673      2016-08-12 08:08:03 +08:00 via Android | 
|  |      2rogerchen      2016-08-12 08:09:00 +08:00 Let me stackvoerflow it for you http://stackoverflow.com/questions/29059413/py2exe-lost-sys-stdin-error | 
|  |      3bitkwan OP |