2020-08-28 利用pyinstaller打包Python程序: 1、控制台安装:pip install pyinstaller 2、cd到存放.py文件的文件夹下,将图标ico存放至该目录下 3、打包:pyinstaller XXX.py -F --icon=“lynnjay1.ico”