psychopy.org | Reference | Downloads | Github

How do I get a filelist of files in my stim folder?


#1

URL of experiment: https://pavlovia.org/run/huppfi/eating2/html/

Description of the problem: If you take a look at the code (https://gitlab.pavlovia.org/huppfi/eating2) I am trying to use the python glob.glob() in JS but I don’t know how it would work.


#3

Great, I see you fixed this. We can delete your post as you requested, or you may want to share how you solved your problem, in case someone else has a similar question.


#4

Oh yeah sure!

I don’t think it’s the best solution but I just hardcoded all Images I had.