Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import tkinter as tk
- root = tk.Tk()
- root.title('Hello')
- mainFrm = tk.Frame(root)
- mainFrm.pack()
- mainLab = tk.Label(root, text = 'Tkinter GUI!')
- mainLab.pack()
- root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement