salut Situphen,
Tout d’abord merci d’avoir répondu aussi vite.
Ensuite, pour répondre à tes questions :
-voici l’outil que j’ai utilisé : https://pypi.org/project/auto-py-to-exe/
C:\Users\CES>pip install -U pyinstaller
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pyinstaller in c:\users\ces\appdata\roaming\python\python312\site-packages (6.5.0)
Requirement already satisfied: setuptools>=42.0.0 in c:\users\ces\appdata\roaming\python\python312\site-packages (from pyinstaller) (69.2.0)
Requirement already satisfied: altgraph in c:\users\ces\appdata\roaming\python\python312\site-packages (from pyinstaller) (0.17.4)
Requirement already satisfied: pyinstaller-hooks-contrib>=2024.3 in c:\users\ces\appdata\roaming\python\python312\site-packages (from pyinstaller) (2024.3)
Requirement already satisfied: packaging>=22.0 in c:\users\ces\appdata\roaming\python\python312\site-packages (from pyinstaller) (24.0)
Requirement already satisfied: pefile>=2022.5.30 in c:\users\ces\appdata\roaming\python\python312\site-packages (from pyinstaller) (2023.2.7)
Requirement already satisfied: pywin32-ctypes>=0.2.1 in c:\users\ces\appdata\roaming\python\python312\site-packages (from pyinstaller) (0.2.2)
-Pour l’outil de commande en ligne
C:\Users\CES>Desktop\RPS2+PNG>pyinstaller —mainonefile —noconsole RPS2.py
'Desktop\RPS2+PNG' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
-L’arboressence du dossier qui contient à la fois le fichier py et ses images est :
C:\Users\CES\Desktop\RPS2+PNG