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

Magnus Lyckå magnus at thinkware.se
Sat Jul 24 01:09:22 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 



More information about the Tutor mailing list