Mega Code Archive

 
Categories / Python / GUI Tk
 

Creating a window

from Tkinter import * # create the root window root = Tk() # modify the window root.title("Create a window") root.geometry("200x200") # Start the window's event-loop root.mainloop()