Completed
Push — master ( 1d3167...729176 )
by Deepak
15s queued 11s
created

shut_down.pr()   A

Complexity

Conditions 1

Size

Total Lines 5
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 5
nop 0
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
from tkinter import *
2
from AutoWhatsApp import vari
3
4
master = Tk()
5
6
end_hr = Spinbox(master, from_=0, to=23)
7
end_hr.pack()
8
9
end_min = Spinbox(master, from_=0, to=59)
10
end_min.pack()
11
12
def pr():
13
    ehr = end_hr.get()
14
    emin = end_min.get()
15
    print(ehr)
16
    print(emin)
17
    #print(shr)
18
19
print(vari.smin)
20
21
bt = Button(master, text="clic", command=vari)
22
bt.pack() 
23
24
mainloop()
25