Python 打包 xx.py 为 xx.exe 可执行程序

0. 首先安装 pyinstaller

pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz

1. 再执行

pyinstaller -F -w xxx.py

 

2. 查看结果

 

 

发布了92 篇原创文章 · 获赞 23 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/assiduous_me/article/details/103104514