python3轉變exe的方法

python開發的代碼可能在其他windows上並不能使用用,除非別人的環境中也有python。 下面是如何將python開發的東西轉爲exe格式   1.安裝pyinstaller pip install pyinstaller 2.跳到python文件目錄下面運行命令 pyinstaller --onefile python文件名 --onefile的作用是產生的結果匯成一個exe的文件。  
相關文章
相關標籤/搜索