Threading Or Other Suggestions?!?

Aahz aahz at pythoncraft.com
Fri Jan 14 22:54:07 CET 2005


In article <mailman.699.1105699485.22381.python-list at python.org>,
 <andrea.gavana at agip.it> wrote:
>
>      I have a wxPython application that does a lot of things. One of them,
>in particular, I have doubts on how to implement it. Essentially, this part
>of my application calls an external executable (an oil reservoir
>simulator). What I would like to do, is to give the user the possibility to
>run more than 1 simulation at the same time. This means:
>
>1) Writing the executable "data file" needed by the simulator
>2) Run the executable file (and wait until completion)
>3) Examine the simulation results
>
>For this, I was thinking about threads... does anyone have other/better
>suggestion(s)? Does anyone see any difficulty/memory problems in using
>threads?

If you're not on Windows, this will be much easier with multiple
processes.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"19. A language that doesn't affect the way you think about programming,
is not worth knowing."  --Alan Perlis



More information about the Python-list mailing list