python之打包exe文件

pip3 install pyinstaller --index-url https://pypi.tuna.tsinghua.edu.cn/simple/

进入 pyinstaller.exe 所在目录

pyinstaller -F -i test.ico test.py

加载图标并生成exe

posted @ 2021-05-27 16:36  二月三十  阅读(62)  评论(0)    收藏  举报