Thread for a newbie
sbabbitt at commspeed.net
Tue Aug 10 11:25:13 EDT 2004
"JDevine" <justin__devine at hotmail.com> wrote in message
news:f9d01b73.0408100642.67255b58 at posting.google.com...
> Hi. I have just finished my first python program. Unfortunately
> threading has me stumped. I think this is mostly because the
> wx.thread example demo is very complex, with all the grahphics,
> graphs, and draw functions. I want to do something very simple. My
> program downloads files over HTTP, I want to instantiate a process
> dialog that tracks the download. I already have access to the
> expected size of each file through other functions in my program, I
> also assume an os.foo is capable of getting the current size as the
> file grows as it is downloaded. My issue is keeping the file
> downloading WHILE it is being tracked by the process dialog. Please
> help with any simple thread examples you might have, if this example
> includes a dialog even better.
> Thanks for any help you can provide.
> Justin__Devine at hotmail.com thanks
Don't use the wxPython threading example, use instead the threading module
from the standard library. It is vey easy to use and works fine with
More information about the Python-list