[Tutor] Reading in file and processing it in a thread

vicki at thepenguin.org vicki at thepenguin.org
Sat Jul 24 19:05:41 CEST 2004

> At 10:21 2004-07-23 -0500, Vicki Stanfield wrote:
>>I am doing threading for the first time in Python. I need to read in and
>>process a file recursively if a checkbox on my gui is checked (wxPython)
>>and stop at the end of the file if it is not. I used to have an EVT
>>handler which called the following code (I know it ain't pretty!):
> Have you read this?
> http://wiki.wxpython.org/index.cgi/LongRunningTasks
> --
> Magnus Lycka (It's really Lyckå), magnus at thinkware.se
> Thinkware AB, Sweden, www.thinkware.se
> I code Python ~ The Agile Programming Language

No, I hadn't found this yet. It appears to be what I need to do. I'll see
if I can follow it to change my code. THanks.


More information about the Tutor mailing list