Convert .py To Exe Fix Page

Create a simple Python script called hello.py with the following code:

pyinstaller --onefile hello.py This will create a dist directory containing the executable file. convert .py to exe

pip install pyinstaller