Python脚本转成.exe可执行文件

https://cloud.tencent.com/developer/article/1591443

1.“pip install pywin32”
2.“pip install wheel”
3.“pip install pyinstaller==3.2.1”

testTips_to_exe.bat

pyinstaller.exe --onefile --clean testTips.py -F
copy dist\testTips.exe testTips.exe
RD  /S /Q dist
RD  /S /Q build
DEL  testTips.spec
pause

你可能感兴趣的:(Python脚本转成.exe可执行文件)