I've written a command-base program and it works properly. Since I'd like to add some graphical interface, I prepared a simple one with Tkinter. But the line which contains "scheduler.run", it locks my application and I can't get any error code.
def do_deneme(p): etiket_run1["text"] = etiket_run1["text"] + str(p) + " completed at " + str(datetime.datetime.now()) def run_do(): ... scheduler=sched.scheduler(time.time, time.sleep) for p in clean_information: scheduler.enter(float(p[12]), 1, do_deneme,(p,)) etiket_run1["text"] = etiket_run1["text"] + str(datetime.datetime.now()) scheduler.run() etiket_run1["text"] = etiket_run1["text"] + "Completed." ... etiket_run1=Label(cerceve1, fg="red") etiket_run1.pack(side=BOTTOM,padx=5,pady=5) dugme = Button(cerceve2,text=u"Start",command=run_do) ... Any way to debug this code part? or any suggestion about using scheduler.run with labels in Tkinter?