Class functions
Tim Roberts
timr at probo.com
Wed Feb 27 02:36:48 EST 2002
"Chad Maine" <chad.maine at broadlink.com> wrote:
>Yeah, my function runs a loop looking for updates and posting them to a
>StringIO file object. I want access to that file object in real time in my
>client instead of waiting for the function to "return".
Is there any reason why you can't spin off a second thread? That seems
like the ideal solution. Python has a relatively simple-to-use threading
module.
--
- Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list