Iterating command switches from a data file - have a working solution but it seems inefficient

bruno at modulix onurb at xiludom.gro
Thu Apr 13 09:24:21 EDT 2006


News wrote:
(snip)
> sometimes you can't see the forest .. trees and all that :)

Yes, been here too... I wrote a CSV parser before realising there was a
pretty good one in the standard lib :(

(snip)
> OT: I saw several references to "OP". What does this mean?

Original Poster

-- 
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