title: How to fix: FileNotFoundError: [Errno 2] No such file or directory
body: <p>I'm having an issue trying to open a file that is definitely saved to my computer ('NYT-bestsellers.txt'), but whenever I try opening it with my code I get the error </p>
  
  <blockquote>
    <p>FileNotFoundError: [Errno 2] No such file or directory: 'NYT-bestsellers.txt'</p>
  </blockquote>
  
  <p>I thought about using the method where you use the full path to open the file… but this is part of an assignment that I'll be submitting later this week. If I open the file using a specific path from my laptop, I'm worried that it won't open for the marker. Please advise!</p>
  
  <pre><code>with open('NYT-bestsellers.txt', 'r') as file:
      file = file.splitlines()
  </code></pre>