Une interface pour lancer des programmes ?
Résolu/Fermé
lulu5111
Messages postés
13
Date d'inscription
mardi 7 mars 2023
Statut
Membre
Dernière intervention
4 juillet 2023
-
11 mars 2023 à 19:04
jordane45 Messages postés 38144 Date d'inscription mercredi 22 octobre 2003 Statut Modérateur Dernière intervention 21 avril 2024 - 11 mars 2023 à 20:06
jordane45 Messages postés 38144 Date d'inscription mercredi 22 octobre 2003 Statut Modérateur Dernière intervention 21 avril 2024 - 11 mars 2023 à 20:06
A voir également:
- Une interface pour lancer des programmes ?
- Lancer un programme au demarrage - Guide
- Common interface ✓ - Forum TV & Vidéo
- Virtualbox interface - Forum VirtualBox
- Common interface (ci card) - Forum TV & Vidéo
- Voici une présentation avec des animations. quand on lance le diaporama, quels fruits descendent du haut de l’écran ? - Forum Powerpoint
1 réponse
jordane45
Messages postés
38144
Date d'inscription
mercredi 22 octobre 2003
Statut
Modérateur
Dernière intervention
21 avril 2024
4 650
11 mars 2023 à 20:06
11 mars 2023 à 20:06
Bonjour,
Tu peux créer une telle interface en python.
par exemple, avec Tkinter
https://docs.python.org/fr/3/library/tkinter.html
http://www.xavierdupre.fr/app/teachpyx/helpsphinx/c_gui/tkinter.html#tkinter
Un exemple trouvé sur stackoverflow
import sys import os from tkinter import * window=Tk() window.title("Running Python Script") window.geometry('550x200') def run(): os.system('opencv_video.py') btn = Button(window, text="Click Me", bg="black", fg="white",command=run) btn.grid(column=0, row=0) window.mainloop()