Oct-25-2019, 04:04 PM
(This post was last modified: Oct-25-2019, 04:05 PM by SomeRandomGuy.)
Doesn't work: https://imgur.com/a/u5Hw2I8 (image of result and proof I changed the script and how the image should look like under it - two pictures in one link).
Script:
Script:
import tkinter as tk from PIL import Image, ImageTk w, h = (864, 576) root = tk.Tk() def firstGUI(): canvas = tk.Canvas(root, height=h, width=w) canvas.pack() bg = ImageTk.PhotoImage(Image.open("characterwindow01.jpg")) bg_l = tk.Label(root, image=bg) bg_l.place() firstGUI() root.mainloop()