title: how to load csv data in Python 3 using Jupyter
body: <p>I am trying to import data from a <code>csv</code> file using Jupyter. I am new to Python.
  It works fine in IDLE, but not in Jupyter. </p>
  
  <pre><code>import csv
  with open("mpg.txt","r") as mpgFile:
      mpgFileReader = csv.reader(mpgFile)
      mpgList = []
      for row in mpgFileReader:
          if len (row)!=0:
              mpgList = mpgList + [row]
  mpgFile.close()
  print(mpgList)
  </code></pre>
  
  <hr>
  
  <h3>This is the error I receive</h3>
  
  <pre><code>---------------------------------------------------------------------------
  FileNotFoundError                         Traceback (most recent call last)
  &lt;ipython-input-60-42823a11b1d0&gt; in &lt;module&gt;()
        1 import csv
  ----&gt; 2 with open("mpg.txt","r") as mpgFile:
        3     mpgFileReader = csv.reader(mpgFile)
        4     mpgList = []
        5     for row in mpgFileReader:
  
  FileNotFoundError: [Errno 2] No such file or directory: 'mpg.txt'
  </code></pre>
  
  <p>I also tried to specify the full path of the file: </p>
  
  <pre><code>"C:\Users\serdi\Documents\Test\mpg.txt"
  </code></pre>
  
  <p>But then it gives me another error:</p>
  
  <pre><code>  File "&lt;ipython-input-61-fed3bca4876a&gt;", line 2
      with open("C:\Users\serdi\Documents\Test\mpg.txt","r") as mpgFile:
               ^
  SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
  </code></pre>