Creating an Executable from Python Scripts

Publié le: 27 février 2021
sur la chaîne: Saravanan Natarajan
33
1

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)


Sur cette page du site, vous pouvez voir la vidéo en ligne Creating an Executable from Python Scripts durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Saravanan Natarajan 27 février 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 33 fois et il a aimé 1 téléspectateurs. Bon visionnage!