python to exe - DanielMueller1309/Python GitHub Wiki

To run a script without computer-side setup, you must create the executable file from your script.

Here are the steps to create an executable

Install Pyinstaller using pip. In cmd, type

pip install pyinstaller

Now, get the complete path of your python script file, Open cmd and type

then put the next command

pyinstaller --noconsole --onefile file.py