from Tkinter import * def msg( ): print 'Bienvenu sur python graphique' top = Frame( ) # Création d'un conteneur top.pack( ) Label(top, text="Et le python..").pack(side=TOP) push = Button(top, text="Cliquez ici", command=msg) push.pack(side=BOTTOM) top.mainloop( ) |
Livres Sur ce Sujet
Apprendre à programmer avec Python 3 Apprenez à programmer en Python Python : Petit guide à l’usage du développeur agile Apprendre à programmer avec Python 3 : Avec plus de 50 pages de corigés d’exercices !