Generators and Decorators doing my head in ..

bruno modulix onurb at xiludom.gro
Tue Sep 6 12:59:07 EDT 2005


Paul McGuire wrote:
(snip)

> (This is a quick-and-dirty example, but it works.  A proper iterator

s/iterator/decorator/

(snip)
-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list