Polling a net address

I

Iain

Hi All,

I'm writing a system tray application for windows, and the app needs
to poll a remote site at a pre-defined interval, and then process any
data returned.

The GUI needs to remain responsive as this goes on, so the polling
needs to be done in the background. I've been looking into Twisted as
a way of achieving this, but can't seem to get anything to loop
successfully.

Does anyone have any pointers that they might be able to give me?

TIA.
 
A

Aahz

I'm writing a system tray application for windows, and the app needs
to poll a remote site at a pre-defined interval, and then process any
data returned.

The GUI needs to remain responsive as this goes on, so the polling
needs to be done in the background. I've been looking into Twisted as
a way of achieving this, but can't seem to get anything to loop
successfully.

Does anyone have any pointers that they might be able to give me?

You might prefer trying out threads instead; there's a simple Tkinter
example in
http://www.pythoncraft.com/OSCON2001/index.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top