Article of interest: Python pros/cons for the enterprise

Matthew Woodcraft mattheww at
Sat Feb 23 23:07:14 CET 2008

Jeff Schwab  <jeff at> wrote:
> The most traditional, easiest way to open a file in C++ is to use an 
> fstream object, so the file is guaranteed to be closed when the fstream 
> goes out of scope.

Out of interest, what is the usual way to manage errors that the
operating system reports when it closes the file?


More information about the Python-list mailing list