Total Complexity | 1 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 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 |