标签: python pyinstaller
pyinstaller --onefile script.py
script.py
while True: x=raw_input('enter code: ') exec(x.strip())
将新模块复制到script.exe的根目录中 'newmodule' 运行script.exe
enter code: import newmodule
-------此错误,找不到模块
一种方法吗?