SOLVED: relative paths where filename arguments are expected


Shouldn’t the following work as ways to reference files and directories relative to the current working directory:

open("…/txt_output/mytext.txt", “r”)

None of them do. Is this related to the tilde issue?


I think you just have one too many dots.


Yes–as I typed the example. I used 2 dots in code.

There is no problem: I was not navigating the file hierarchy correctly! Doh!