Skip to content

Commit 4d2debe

Browse files
Update calculator_with_images.py
1 parent dca9f2a commit 4d2debe

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Calculator with Images/calculator_with_images.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
from PIL import ImageTk , Image
66

77
rt = Tk()
8-
rt.title("Moin's Calculator")
9-
rt.iconbitmap('C:/imgs/icons/calc512px.ico')
8+
rt.title("Basic Calculator")
9+
#Change path of ico file here
10+
rt.iconbitmap('C:/imgs/icons/calc512px.ico') #CHANGE PATH
1011
rt.geometry("300x430")
11-
bg = ImageTk.PhotoImage(file="C:/imgs/300x430_bg.png")
12+
#change path of Background file here
13+
bg = ImageTk.PhotoImage(file="C:/imgs/300x430_bg.png") #CHANGE PATH
1214
bg_label = Label(rt, image=bg).place(x=0,y=0)
1315

1416
# Entry Widget

0 commit comments

Comments
 (0)