Python製作EXE執行檔

1.pip 軟件管理器

pip -v 版本確認

pip -list 列出本地安裝包

pip install 軟件安裝

2.打包成為windows執行檔的方法

指令如下

先安裝pyinstaller

pip install pyinstaller

然後使用下列指令打包

pyinstaller filename.py --onefile

--noconsole

--icon file.ico

1.尋找各式各樣圖示免費下載SVG或PNG檔案

https://www.flaticon.com/

2.尋找各式各樣圖示免費下載SVG或PNG檔案

https://www.iconfinder.com/

3.利用線上SVG或PNG轉ICON網站進行轉檔

https://www.aconvert.com/tw/icon/

4.打包成為windows執行檔

(記得windows安全性排除項目指定到放置python程式資料夾)

補充:搭配Qt Designer 圖形化介面