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()
+1
View File
@@ -11,3 +11,4 @@
* [Build A Simple Calculator App - Python Tkinter GUI Tutorial #5](https://www.youtube.com/watch?v=F5PfbC5ld-Q&list=PLCC34OHNcOtoC6GglhF3ncJ5rLwQrLGnV) * [Build A Simple Calculator App - Python Tkinter GUI Tutorial #5](https://www.youtube.com/watch?v=F5PfbC5ld-Q&list=PLCC34OHNcOtoC6GglhF3ncJ5rLwQrLGnV)
* [Continue Building A Simple Calculator App - Python Tkinter GUI Tutorial #6](https://www.youtube.com/watch?v=XhCfsuMyhXo&list=PLCC34OHNcOtoC6GglhF3ncJ5rLwQrLGnV) * [Continue Building A Simple Calculator App - Python Tkinter GUI Tutorial #6](https://www.youtube.com/watch?v=XhCfsuMyhXo&list=PLCC34OHNcOtoC6GglhF3ncJ5rLwQrLGnV)
* [Finish Building A Simple Calculator App - Python Tkinter GUI Tutorial #7](https://www.youtube.com/watch?v=oq3lJdhnPp8&list=PLCC34OHNcOtoC6GglhF3ncJ5rLwQrLGnV) * [Finish Building A Simple Calculator App - Python Tkinter GUI Tutorial #7](https://www.youtube.com/watch?v=oq3lJdhnPp8&list=PLCC34OHNcOtoC6GglhF3ncJ5rLwQrLGnV)
* [Using Icons, Images, and Exit Buttons - Python Tkinter GUI Tutorial #8](https://www.youtube.com/watch?v=NoTM8JciWaQ&list=PLCC34OHNcOtoC6GglhF3ncJ5rLwQrLGnV)