Oct-06-2017, 10:23 PM
I experimented with using the "open" function to open text files, and in doing so I had to type out the file directory on my hard drive. However, in every example I've seen there is no filepath specificed, and just the name of a file (for example, 'notepadfile.txt') as the main argument.
What is the default directory for this function, and is there a way to change the default directory such that I can open files by filename, without having to specify the file path?
What is the default directory for this function, and is there a way to change the default directory such that I can open files by filename, without having to specify the file path?