title: No such file or directory?
body: <p>I'm having an issue with &quot;FileNotFoundError: [Errno 2] No such file or directory: 'Pronunciation_Data.txt'</p>
  <p>I keep resetting my working directory to the correct location but it does not seem to want to stay (using Spyder/Anaconda). I have also tried the following:</p>
  <pre><code>file = open(r'C:\path\to\Pronunciation_Data.txt\Users\stephaniecheetham\Desktop\Thesis')
  </code></pre>
  <pre><code>import os
  os.chdir(r'C:\Users\stephaniecheetham\Desktop\Thesis')
  file = open('Pronunciation_Data.txt')
  
  file = open(&quot;Pronunciation_Data.txt&quot;,'r')
  
  file = open(&quot;&lt;Users/stephaniecheetham/Desktop/Thesis&gt;\Pronunciation_Data.txt&quot;,'r')
  
  file = open(&quot;C:/stephaniecheetham/Desktop/Thesis/Pronunciation_Data.txt&quot;,'r')
  </code></pre>
  <p>No luck with any of them. Just the same error. I had a recent issue with a module as well and fixed it using the <code>import os</code> command.</p>
  <p>Any suggestion?</p>