Création du programme Hello World dans Tkinter
- from tkinter import * En Python3, nous importons tout d'abord toutes les classes, fonctions et variables du package tkinter.
- root = Tk () Maintenant, nous créons un widget racine, en appelant le Tk () . ...
- a = Label (root, text = "Bonjour le monde!") ...
- une.pack() ...
- racine.boucle principale()