With Statement Contexts and Context Managers

Carsten Haese carsten at uniqsys.com
Tue Jul 31 21:35:27 CEST 2007


On Tue, 2007-07-31 at 14:57 -0400, G wrote:
> Hi,
> 
>    Could somebody please point me to a good resource to read about
> the contexts, context managers, and with_statement
> 

There's PEP 343 at http://www.python.org/dev/peps/pep-0343/. I don't
know if that fits your definition of "good," but it should at least get
you started.

HTH,

-- 
Carsten Haese
http://informixdb.sourceforge.net





More information about the Python-list mailing list