You can use listPaths() for it:
Processing.GitHub.io/processing-javadocs/core/processing/core/PApplet.html#listPaths-java.lang.String-java.lang.String…-
And here’s an example for image files, which you can easily adapt for CSV 1s:
Don’t forget Processing can also load CSV & TSV files via loadTable():
1 Like