python 打包exe 命令及去除 cmd框

1.下载python

2.安装python,安装完成后在系统环境变量中配置python安装路径和E:pythonScripts路径。

3.使用命令安装库 pip install pyinstaller 

4.进入你的xx.py的文件中使用该命令打包 pyinstaller -F xx.py -w

5.在dist文件下将找到打包好的exe

原文地址:https://www.cnblogs.com/lnd-blog/p/14688444.html