I\'m new and I have no idea where the default directory for the open() function is.
open()
For example open(\'whereisthisdirectory.txt\',\'r\')
open(\'whereisthisdirectory.txt\',\'r\')
If you working on Windows OS first type
import os
then type
os.getcwd()
and it should print the current working directory.