kk的blog
顯示具有
nuitka
標籤的文章。
顯示所有文章
顯示具有
nuitka
標籤的文章。
顯示所有文章
2026/09/26
之前討論怎麼把shell編譯成執行檔
這次來討論python
一般有二個方式 pyintaller 或 nuitka
先講 nuitka
安裝
pip install nuitka
執行需要 patchelf
sudo apt install patchelf
再來就可以直接用了
python3 -m nuitka --standalone test.py
產生二個目錄
test.build
test.distt
執行檔在
test.distt 裡的 test.bin
較舊的文章
首頁
訂閱:
文章 (Atom)