Storing a string list in a new csv file : I am new to Python and somehow can't quite get this simple task to run. 

I have generated a randomization of some images I would like to later present to each participant in my experiment. The randomization assigns each participant a particular order for a list of images to be presented. I end up, for example, with a list that looks like this (for one participant):

    str_all = ['01_2.jpg', '06_2.jpg', '08_1.jpg', '04_2.jpg', '10_1.jpg', 
               '07_2.jpg', '02_1.jpg', '05_2.jpg', '09_1.jpg', '03_1.jpg']

For each participant this list is different. Before a new randomization is generated for a new participant to get a new "str_all" list, I would like to store the string elements in a way that I can use them to retrieve those images later. I created manually with Excel a new csv file called list_stim.csv. I would like to have each list in one row (each row = one participant) but don't know if this is the best way to place each. I tried doing this but it did not work:

    with open('list_stim.csv', 'w') as fp:
        wr = csv.writer(fp, delimiter=',')
        wr.writerows([str_all[i]])
        wr.writerow("\n") 

Any advice? Thank you! 