469,285 Members | 2,553 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,285 developers. It's quick & easy.

Refresh loop

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.Telesco pe')
root=Tk()

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

root.mainloop()
Thank You!

Regards,
Aleksandar

Apr 11 '06 #1
0 736

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Andrew Chanter | last post: by
4 posts views Thread by Yogi_Bear_79 | last post: by
2 posts views Thread by Shapper | last post: by
3 posts views Thread by Kevin | last post: by
reply views Thread by Liming | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.