psychopy.org | Reference | Downloads | Github

Picking random excel sheet with code for builder

Hello,

I am using the builder, but am trying to add in a line of custom code so that after the instruction screen, the program picks one of the 8 excel sheets in my folder. Each sheet is a different stimulus set order and each participant only needs to complete one of the excel sheet/stimulus sets. Since I am not used to writing code and instead rely on the builder, I am in need of help figuring out how to have my code randomly picking one of the excel sheets to read from.

Any advice is welcome. Thank you.

This might be of help to you:

1 Like