title: Loading .dat file in python
body: <p>I made a simple code that loads in data called 'original.dat' from a folder named 'data' in my computer. The code was working great and i was able to view my spectra graph. This morning I ran the code again, but it completely crashed giving the error &quot; OSError: data/original.dat not found.&quot; Even though nothing changed. The data is infact still in the folder named 'data' and there isn't any spelling mistakes. Can anyone please help understand why its now giving me this error? The code was working perfectly the day before.
  here is the code I used :</p>
  <pre><code>    %matplotlib inline
      import numpy as np
      import matplotlib.pyplot as plt
  
      OPUSimaginary = np.loadtxt('data/original.dat', delimiter = ',')
  </code></pre>
  <p><a href="https://i.stack.imgur.com/6lZ61.png" rel="nofollow noreferrer">Data file position</a>, <a href="https://i.stack.imgur.com/MgSwq.png" rel="nofollow noreferrer">Error:cant find the file</a>,<a href="https://i.stack.imgur.com/hfZt5.png" rel="nofollow noreferrer">Error: suggested code to find file</a></p>