collecting results in threading app
george.sakkis at gmail.com
Fri Apr 4 19:58:26 CEST 2008
On Apr 4, 1:54 pm, George Sakkis <george.sak... at gmail.com> wrote:
> On Apr 4, 11:27 am, Gerardo Herzig <gher... at fmed.uba.ar> wrote:
> > There is an approach in which i can 'sum' after *any* thread finish?
> > Could a Queue help me there?
> Yes, you can push each result to a queue and have the main thread wait
> in a loop doing a queue.get() every time. After each get() you can do
> whatever with the results so far (partial sum, update a progress bar,
> You can take a look at papyros ,
I forgot the link: http://pypi.python.org/pypi/papyros/
More information about the Python-list