Hi,<div><br></div><div>I have a suggestion for the csv module'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("some.csv", "rb"))</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("some.csv", "rb")</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>