python 打包 exe文件

操作步骤:

先安装pyinstaller,在终端中输入pip install pyinstaller即可。

打包程序:

pyinstaller --console --onefile 7.py

在dist文件夹里面即可找到可执行文件。





垂緌饮清露,流响出疏桐。 居高声自远,非是藉秋风。
原文地址:https://www.cnblogs.com/xinxianquan/p/14653352.html