Excellent Overview of the with Statement

by Jeremy Jones

Fredrik Lundh just posted an excellent overview of the "with" statement. If you haven't been watching, the "with" statement is new in Python 2.5.

1 Comments

William Grim
2006-10-29 23:34:53
That was indeed a good talk about the "with" statement. I am going to give a "Python in 60 Minutes" talk at my university's CS department next week. I'll make sure to talk about that feature, assuming I have time to develop some example code that uses it.