Hi,<div><br></div><div>I have a suggestion for the csv module&#39;s documentation. The examples in <a href="http://docs.python.org/library/csv.html">http://docs.python.org/library/csv.html</a> show file reading like this:</div>
<div><br></div><div>reader = csv.reader(open(&quot;some.csv&quot;, &quot;rb&quot;))</div><div><br></div><div>This leaves the file handle open after use, without a way to close it. A better example might be</div><div><br></div>
<div>ifile = open(&quot;some.csv&quot;, &quot;rb&quot;)</div><div>reader = csv.reader(ifile)</div><div><i> ... process file ...</i></div><div>ifile.close()</div><div><br></div><div><br></div><div>Thanks for all your good work,</div>
<div>Neil</div>