-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathE53.py
More file actions
48 lines (21 loc) · 679 Bytes
/
Copy pathE53.py
File metadata and controls
48 lines (21 loc) · 679 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# B - aseException
# U - nboundLocalError
# G - eneratorExit
# G - eneratorExit
# E - nvironmentError
# D - eprecationWarning
# B . U . G . G . E . D
from tkinter import *
roots = Tk()
roots.geometry("350x300")
roots.title("E53")
texty=Label(roots, text = "E53" , font="Tahoma 70 bold" , fg="white" , bg="black" ).pack(padx=20 , pady=0)
roots["background"] = 'black'
count = 0
def my_upd():
global count
count = count + 1
b1.config(text= "التسبيح: " +str(count))
b1 = Button(roots , text = "0" , width=27 , height=27 , command = lambda: my_upd() , bg= "Gold" , font="Tahoma 13 bold" )
b1.pack(padx= 100 , pady= 50)
roots.mainloop()