title: opening file odd error in python 3
body: <p>i have a quick question so im trying to code up something in python to open up a file and im getting a weird error when i run it ill post the error below with my code included, but ive never seen it before and im not sure what it means. if anyone has any ideas id really appreciate it. thanks !</p>
  
  <p><strong>code</strong></p>
  
  <pre><code>def readfile():
      filename = input(str("What is the files name you would like to import "))
      f = open(filename)
      for line in f:
          print(line)
  </code></pre>
  
  <p><strong>error</strong></p>
  
  <blockquote>
    <p>builtins.UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in
    position 32: ordinal not in range(128)</p>
  </blockquote>