Refresh loop

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Aleksandar Cikota

    #1

    Refresh loop

    Hello,

    I'm beginner in python. I want to refresh and print Scope.SiderealT ime 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.Dispat ch('ScopeSim.Te lescope')
    root=Tk()

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

    root.mainloop()


    Thank You!

    Regards,
    Aleksandar



Working...