title: how to understand <class '_io.TextIOWrapper'>?
body: <p>The following is the code:</p>
  
  <pre><code>fin=open("myFile.txt","r") # opening a file creates a file handle
  
  for line in fin:
      print(line)
  
  fin.close() # close file handle
  </code></pre>
  
  <p>My question is: how to understand the TextIOWrapper object fin? I mean, is it safe to say it is something with a sequence structure, where each item of the sequence is a line of your file with "\n" added? What else could I say about it? How do you understand it?</p>
  
  <p>Any comments are greatly appreciated. </p>