title: Is a text file still open after a open(file).read() command?
body: <p>To shorten the code a little, I used something like:</p>
  
  <pre><code>data = open(file).read() 
  </code></pre>
  
  <p>It's impossible to close by <code>data.close()</code> since <code>data</code> it's a string, so I ask the question: if after that line is read, is the file still open? Do I need to bother to close it somehow?</p>