Refresh loop

Aleksandar Cikota alexci at web.de
Tue Apr 11 08:58:39 EDT 2006


Hello,

I'm beginner in python. I want to refresh and print Scope.SiderealTime every 
second in Tkiner. I have a easy question. How to refresh this loop every 
second?

Here the code:

from Tkinter import *
import win32com.client
Scope = win32com.client.dynamic.Dispatch('ScopeSim.Telescope')
root=Tk()

Label(root, text=Scope.SiderealTime).grid(row=0, sticky=W)

root.mainloop()


Thank You!

Regards,
Aleksandar






More information about the Python-list mailing list