Opening files outside of the "data" directory
Answered
- Need more info
- Answered
- Working on it
in
Programming Questions
•
3 years ago
Hello everyone,
This is my first post here so bear with me.. I would say I am slightly above newbie-level with Processing, but not by much. I have done a few neat and rather complex projects using Processing before, but I am no expert.
My current problem involves working with files that are too inconvenient to move into the "data" directory of my sketch. I want to work with some 'log' files and I don't want to move them. Is there any way at all that I can access them with Processing--perhaps using a complete file-path or something? The particular function I am using is "loadStrings()". Any advice would be greatly appreciated. This is the only thing preventing my project from being flexible and easy to work with.
Pat
This is my first post here so bear with me.. I would say I am slightly above newbie-level with Processing, but not by much. I have done a few neat and rather complex projects using Processing before, but I am no expert.
My current problem involves working with files that are too inconvenient to move into the "data" directory of my sketch. I want to work with some 'log' files and I don't want to move them. Is there any way at all that I can access them with Processing--perhaps using a complete file-path or something? The particular function I am using is "loadStrings()". Any advice would be greatly appreciated. This is the only thing preventing my project from being flexible and easy to work with.
Pat
1