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)
Auf dieser Seite können Sie das Online-Video Creating an Executable from Python Scripts mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Saravanan Natarajan 27 Februar 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 33 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!