kk的blog
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)
沒有留言:
張貼留言