Advertisement
Guest User

gui1.py

a guest
Jul 19th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. import tkinter as tk
  2.  
  3. root = tk.Tk()
  4. root.title('Hello')
  5.  
  6. mainFrm = tk.Frame(root)
  7. mainFrm.pack()
  8.  
  9. mainLab = tk.Label(root, text = 'Tkinter GUI!')
  10. mainLab.pack()
  11.  
  12. root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement