how to for loop append a list [] when using parallel programming

John Gordon gordon at panix.com
Wed Jun 15 23:17:33 EDT 2016


In <fabcecae-04ae-433c-aad8-43993a21ef08 at googlegroups.com> meInvent bbird <jobmattcon at gmail.com> writes:

> how to for loop append a list [] when using parallel programming

    items = []
    for item in parallelized_object_factory():
        items.append(item)

If you want a more specific answer, ask a more specific question.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gordon at panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"




More information about the Python-list mailing list