cmd 安装包 pip install pyinstaller
cd 进入程序文件夹内
3.输入命令pyinstaller -F xx.py
python 如何生成exe程序
原文:https://www.cnblogs.com/luoditao/p/15006001.html