In Linux environment, I want to create a file and write text into it:
HTMLFILE: "$MYUSER/OUTPUT/myfolder/mytext.html"
f = open(HTMLFILE, 'w')
IOError: [Errno 2] No such file or directory: "$MYUSER/OUTPUT/myfolder/mytext.html"
I have read/write permission do "$MYUSER/OUTPUT/myfolder/" directories.
Why do I get this error? Why doesn't it create mytext.html file?