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

http://alec90998.pixnet.net/blog/post/25256055-windows-%E5%91%BD%E4%BB%A4%E6%8F%90%E7%A4%BA%E5%AD%97%E5%85%83-%28cmd%29-%E8%BD%89%E6%8F%9B%E7%9B%AE%E9%8C%84%E6%8C%87%E4%BB%A4

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 ricky10116r2d2 的頭像
    ricky10116r2d2

    ricky10116r2d2的部落格

    ricky10116r2d2 發表在 痞客邦 留言(0) 人氣()