A label and a button : Label : GUI Tk PYTHON examples


PYTHON examples » GUI Tk » Label »

 

A label and a button


A label and a button
 

import sys, Tkinter
Tkinter.Label(text="Welcome!").pack()
Tkinter.Button(text="Exit", command=sys.exit).pack()
Tkinter.mainloop()

           
         
  



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo GUI Tk
» Label