collecting results in threading app

George Sakkis george.sakkis at
Fri Apr 4 19:58:26 CEST 2008

On Apr 4, 1:54 pm, George Sakkis <george.sak... at> wrote:
> On Apr 4, 11:27 am, Gerardo Herzig <gher... at> 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,
> etc.)
> <shameless-plug>
> You can take a look at papyros [1],

I forgot the link:


More information about the Python-list mailing list