Processing Community Forum
How to check if a file is exist in data folder by code?
Processing.py
GoToLoop
June 1, 2018, 5:17am
6
f = this.dataFile('DoIExist.txt') filePath, exist = f.path, f.isFile() print filePath, exist
Getting list of filenames in a folder
show post in topic
Related topics
Topic
Replies
Views
Activity
Can't access subfolder's in a processing project
Processing.py
2
550
November 20, 2020
Getting list of filenames in a folder
Processing.py
3
687
February 11, 2020
dataPath("") only works in "data" folder
Coding Questions
5
5249
June 27, 2018
.dat file does not exist
Coding Questions
2
694
October 19, 2018
Name of variable (file exists)
Beginners
5
334
August 28, 2022