PyInstaller 下载地址
链接:https://pan.baidu.com/s/1yxJxIptxFuy8Ot3aAi0mHw 密码:jljl
下载后将项目文件放在PyInstaller文件夹下
运行:
pyinstaller yourprogram.py
如:
PyInstaller Quickstart
Install PyInstaller from PyPI:
pip install pyinstaller
Go to your program’s directory and run:
pyinstaller yourprogram.py
This will generate the bundle in a subdirectory called dist.
For a more detailed walkthrough, see the manual.
参考文章:关于python打包成exe的一点经验之谈 - ChenJian
将自己的python程序打包成exe - 哈士奇说喵[Python] 项目打包:5步将py文件打包exe文件 - ccccshq