[IronPython] Good example of with statement usage in IronPython/COM

Sanghyeon Seo sanxiyn at gmail.com
Sun Oct 28 04:09:53 CET 2007


I found this interesting blog post which has a good example of with
statement (Python 2.5 feature) usage in IronPython/COM.

http://d.hatena.ne.jp/akiramei/20071026/1193419839

It's written in Japanese, but the code speaks for itself. The last
line would translate to something like "It's getting shorter, but
nesting is a bit too deep..."

-- 
Seo Sanghyeon



More information about the Ironpython-users mailing list