How to design the randomize the face stimulus with Psychopy

As title,I have design the face present experiment like the photo shows.

.
I want to randomize the face stimulus in 30 face present, and every face only present once.
I have design it through this reference.

But it still doesn’t work, only present the $imglist[0] in all the repeat trials of the loop.The $imglist[0] may refer the first face in the list.

Hi,
It sounds like you don’t have to use code. Just put the filenames in excel row by row, and then click on the image on the screen where it says face and put the name of the column as the images to display. Then when you click on loop put the name of the file as stimulus and choose random as type of display.
Hope this helps

2 Likes