#Snippets #Python July 08, 2023

Python: Converting a Script to an Executable

If you haven't installed pyinstaller: pip install pyinstaller

To use it, go to your project's directory and open the command prompt:
pyinstaller --onefile script-name.py

SEARCH