close
Python - .py 製作 .exe
cd /d D:\test\1234 # 目錄指向.py的位置
pip install pyinstaller # 安裝pyinstaller
(base) D:\PYTHON>pyinstaller -F .\test.py # 製作安裝檔案exe
=======
桌面上放了個 123.py 檔案
C:\Users\Lightel-Ricky\Desktop\123.py
=======
參考
=================================
https://medium.com/pyladies-taiwan/python-將python打包成exe檔-32a4bacbe351
全站熱搜