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\')
create the .txt file in the directory where u have kept .py file(CWD) and run the .py file.