Ejemplo n.º 1
0
def update_list(delay,command):
    while FLAG:
        print('updating...')
        time.sleep(delay)
        start_sync(delay,command)
        lb.delete(0,tk.END)
        add_items(PATH)
Ejemplo n.º 2
0
def check_forever(delay,command):
    while True:
        start_sync(delay,command)