Python 程序打包庫 pyinstaller的安裝與使用

安裝命令:

windows:打開cmd

pip install pyinstaller

進入要打包程序的位置

運行命令

pyinstaller -F project.py

會生成對應的文件夾,在dist文件裏面是已經打包好的應用程序

打包帶圖標的可執行程序

圖標下載:https://www.easyicon.net/

命令:

pyinstaller -i 1.ico -F porject.py

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章