Interface graphique Tkinter

https://python.doctor/page-tkinter-interface-graphique-python-tutoriel

https://python.developpez.com/cours/TutoSwinnen/?page=Chapitre8

Hello world

from tkinter import *
fenetre = Tk()
texte1 = Label(fenetre, text='Hello world', fg='red')
texte1.pack()
bouton1 = Button(fenetre, text='Quitter', command = fenetre.destroy)
bouton1.pack()
fenetre.mainloop()