So I have been trying to open very basic files like this: `inputFile = open("keywords.txt", "r")`

But I get this error:

```
FileNotFoundError: [Errno 2] No such file or directory: 'keywords.txt'

```

This must be because Python's default working directory is not the one where my .py file is (correct me if i'm wrong). 
How can I find the exact path of the directory I'm working in and then change Python's default working directory to it? 

Note: I'm on *OSX Mojave* using *VSCode* and *Anaconda (Python 3.6)*