title: "an integer is required" when open()'ing a file as utf-8?
body: <p>I have a file I'm trying to open up in python with the following line:</p>
  
  <pre><code>f = open("C:/data/lastfm-dataset-360k/test_data.tsv", "r", "utf-8")
  </code></pre>
  
  <p>Calling this gives me the error</p>
  
  <blockquote>
    <p>TypeError: an integer is required</p>
  </blockquote>
  
  <p>I deleted all other code besides that one line and am still getting the error.  What have I done wrong and how can I open this correctly? </p>