title: Python: No csv.close()?
body: <p>I'm using the CSV module to read a tab delimited file. Code below:</p>
  
  <pre><code>z = csv.reader(open('/home/rv/ncbi-blast-2.2.23+/db/output.blast'), delimiter='\t')
  </code></pre>
  
  <p>But when I add Z.close() to end of my script i get and error stating "csv.reader' object has no attribute 'close'"</p>
  
  <pre><code>z.close()
  </code></pre>
  
  <p>So how do i close "Z"?</p>