1:安裝pyinstaller
pip install pyinstaller
1,先寫一個hello.pyspa
print('hello world!') input()
2.執行(在script文件夾下)code
pyinstaller -F ../project/hello.pyblog