Fist install Pyinstaller package
In the Windows Command Prompt, type the following command to install the pyinstaller package (and then press Enter):
pip install pyinstaller
Create python script youprogram.py
print(“Compiled version for windows”)
Next, use the following template to create the executable:
pyinstaller --onefile yourprogram.py
Run the Executable
Your executable should now get created at the location that you specified in folder “dist”.
In Linux all will be same.
Small video tutorial in Windows and Linux machines below.
Fist install Pyinstaller package
In the Windows Command Prompt, type the following command to install the pyinstaller package (and then press Enter):
Create python script youprogram.py
print(“Compiled version for windows”)
Next, use the following template to create the executable:
Run the Executable
Your executable should now get created at the location that you specified in folder “dist”.
In Linux all will be same.
Small video tutorial in Windows and Linux machines below.
user13