In python project, if I have one for loop to append the data in one list, but it takes long time to finish such processing. How could I retrieve the processed list (not finished one) to transfer such list for other purpose? For example, in the following loop, how can I acquire the instant processed list c (not complete) for next processing process_steps2().
For a in list:
b = process(a)
c.append(b)
process_step2(c)