Here We Create an Executable from Python Scripts.Here we use pyinstaller to create an Exe file.
Pyinstaller is installed using the following command in command Line
pip install pyinstaller
The command for creating an executable is
pyinstaller --onefile --windowed -i (icon file) (Python main script.py)
Here --onefile is optional.To create an single executable ,we give that option.
Here --windowed, should be given only for GUI based Python scripts. For Console appliocation don't give this option.
And -i icon file is also optional just to set the icon for executable.
Simplified form of above command is
pyinstaller (Python main script.py)
On this page of the site you can watch the video online Creating an Executable from Python Scripts with a duration of hours minute second in good quality, which was uploaded by the user Saravanan Natarajan 27 February 2021, share the link with friends and acquaintances, this video has already been watched 33 times on youtube and it was liked by 1 viewers. Enjoy your viewing!