Preview:
from tkinter import *
from PIL import ImageTk, Image

root = Tk()
root.title("Image")
root.iconbitmap(r'icon.ico')

# Button
button_quit = Button(root, text="Exit Program", command=root.quit)
button_quit.pack()
label = Label



mainloop()
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