from tkinter import *  # This will import everything from tkinter
root = Tk()  # Is the Tk window

root.mainloop()  # Is the END of loop
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter