How do I read the relative file path that is in a directory other than the python file and then open that file?
For example:
For file1 in the project_name / files / file1.txt directory and the python code in the project_name / src directory os.path.relpath
returns me file1.txt as relative path and the open function throws an exception from
IOError
.