Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 536 Bytes

Scripts 2 Executable (.exe).md

File metadata and controls

20 lines (15 loc) · 536 Bytes

Make your code into executable (.exe)

Install PyInstaller from PyPI:

pip install pyinstaller

Make your script into single .exe file:

pyinstaller --noconfirm --onefile --console  "path\to\your\script.py"

Make your script into single .exe file with icon:

pyinstaller --noconfirm --onefile --console --icon "path\to\your\icon_file.ico"  "path\to\your\script.py"

Feels Defficuelt, Here is a GUI version:

Auto PY to EXE