Shouldn’t the following work as ways to reference files and directories relative to the current working directory:
cd(“…/txt_output”)
isdir(“…/txt_output”)
open(“…/txt_output/mytext.txt”, “r”)
None of them do. Is this related to the tilde issue?
Shouldn’t the following work as ways to reference files and directories relative to the current working directory:
cd(“…/txt_output”)
isdir(“…/txt_output”)
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!
tx.