This commit is contained in:
2023-12-10 14:53:12 +01:00
parent 5263a92c50
commit 87c8667867
4 changed files with 19 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 303 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

@@ -0,0 +1,18 @@
from tkinter import *
from PIL import ImageTk, Image
root = Tk()
root.title("Learn To Code at Codemy.com")
root.iconbitmap("c:/gui/codemy.ico")
my_img = ImageTk.PhotoImage(Image.open("aspen.png"))
my_label = Label(image=my_img)
my_label.pack()
button_quit = Button(root, text="Exit Program", command=root.quit)
button_quit.pack()
root.mainloop()