Binary

Python - Build Executable

wanna convert a script to a executable ? Build a Sample Script cat << EOF > main.py a = "top" b = "secret" print("This is", a, b) EOF python3 main.py This is top secret update poetry ? doas poetry self update poetry self update or pip install poetry -U add pyinstaller poetry init poetry add pyinstaller build Binary poetry run pyinstaller main.py --onefile check Binary ls -la dist/ file dist/main ls -la dist/ 4735533 Jun 26 22:17 main ```.