OS (e.g. Win10): WIn10
PsychoPy version (e.g. 1.84.x): v2020.2.5
**Standard Standalone? yes
I have one routine (let’s call it example) under a loop (inner) that pulls from a .xlsx file for two parameters (Word, Time), which are a sequential list of words with a specific display duration for each one. What I am looking to do is have a loop (outer) over top of “example”, “inner”, fixation cross, and response screen that randomly selects a .xlsx file from within a folder to designate what string of words and corresponding display times. However, I am unfamiliar with implementing sections of custom coding into the psychopy builder, and using a folder explorer function. My previous experiments were just hard-coded in pycharm and imported to psychopy. If I were to do it with just coding, I’d use a tuple of some kind. But when it comes to implementing sections of coding, I am not sure.
Thanks in advance.