[Python-ideas] xml generator that uses the with statement

Mathias Panzenböck grosser.meister.morti at gmx.net
Sat Sep 13 01:54:35 CEST 2008

Josiah Carlson schrieb:
> I've done a similar thing using with (and for in Python 2.4 or before)
> in constructing wxPython GUI widget layouts.

Yeah, I also did something similar using for back in 2.4. But I considered that
as a hack. with is the way to go. :)


More information about the Python-ideas mailing list