pyinstaller to convert code example Example: convert .py to .exe using pyinstaller ! pip install pyinstalller ! pyinstaller --onefile pythonScriptName.py