Back to Browse

Comment créer un fichier .exe à partir d'un projet Python | Tutoriel complet

12.4K views
May 17, 2024
10:12

Salut la team, bienvenue dans ce nouveau tuto ! Aujourd'hui, je vais vous montrer comment créer un fichier .exe à partir d'un projet Python. Ce guide est parfait si vous avez besoin d'un livrable simple pour partager vos scripts avec des collègues ou pour des projets plus complexes incluant des modules et des images. doc pyinstaller: https://pyinstaller.org/en/stable/usage.html code source / github : https://github.com/scienceMat/TUTO-EXE Dans cette vidéo, vous apprendrez : Pourquoi et quand créer un fichier .exe pour vos projets Python. Comment installer et utiliser la librairie PyInstaller. Les options de commande de PyInstaller comme --onefile et -w. Tu veux soutenir ma Chaine ? https://fr.tipeee.com/science-avec-math/ 0:00 Introduction 1:25 installation de PyInstaller 1:50 Utiliser PyInstaller 2:30 Gestion des erreurs 4:30 Créer une exécutable 5:50 Cas avec images/fichiers ext 6:33 Option "--add-data" 8:00 Résultat 8:12 Compresser les données 9:19 Option "--onefile" 9:49 Résultat 9:58 Conclusion #Python #PyInstaller #CréerExe #TutorielPython #DéveloppementLogiciel #PackagingPython #ScriptPython #InstallerPip #EnvironnementVirtuel #Programmation #Développement #DéveloppementWeb #ProjetPython #CodePython #Python3

Download

1 formats

Video Formats

360pmp419.7 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Comment créer un fichier .exe à partir d'un projet Python | Tutoriel complet | NatokHD