Mon May 31 2021 20:41:31 GMT+0000 (UTC)
Saved by @mikek
from tkinter import * root = Tk() root.title('title') root.geometry("1000x1000") photo = PhotoImage(file="image.png") label = Label(root, image=photo) label.grid(padx=1, pady=1) root.mainloop()
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments