继承我的设置脚本:
from distutils.core import setup
import py2exe, sys, os
sys.argv.append('py2exe')
setup(
options = {'py2exe': {'optimize': 1}},
windows = [{'script': "aedf.py",'uac_info': "requireAdministrator",},],
zipfile = "shared.lib",
)
这是我的剧本:
from os import system
message='hello'
raw_input(message)
system('start')
当我运行它时,我在日志文件中收到此错误:
Traceback (most recent call last):
File "aedf.py", line 3, in <module>
EOFError: EOF when reading a line
我如何解决这个问题?问题是什么?