在安装了pyinstaller的基础上,使用命令打包py文件:
pyinstaller -F -w -i a.ico b.py
-w:不弹出命令窗口
-i:exe程序图标
b.py:你的python文件
命令会自动寻找文件中用到的其他python文件。
在安装了pyinstaller的基础上,使用命令打包py文件:
pyinstaller -F -w -i a.ico b.py
-w:不弹出命令窗口
-i:exe程序图标
b.py:你的python文件
命令会自动寻找文件中用到的其他python文件。