神奇的python(二)之python打包成应用程序

(1) 安装pyinstaller

① sudo apt-get install python-setuptools
② pip install pyinstaller

(2) 打包成应用程序

常用用法:pyinstaller -F test.py

@笔记:打包后的应用程序可在dist文件夹下找到。

猜你喜欢

转载自blog.csdn.net/absinjun/article/details/81234117