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\')
First, you must import:
import os
Then to print the current working directory:
os.getcwd()
If you want to change the current working directory:
os.chdir('your_complete_required_path')