python 打包exe 命令及去除 cmd框

1.下载python

 

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

 

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

 

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

 

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

posted @ 2021-04-22 10:47  拷贝达人  阅读(515)  评论(0编辑  收藏  举报