python打包成exe可执行文件(pyinstaller)

1、先安装pyinstaller
pip install pyinstaller

2、切换到文件目录
cd mypath

3、使用以下命令
pyinstaller -F ***.py

原文地址:https://www.cnblogs.com/nicole-zhang/p/12970742.html