how to safely extract dict values

Bruno Desthuilliers onurb at xiludom.gro
Mon Jul 31 07:24:58 EDT 2006


Paul Rubin wrote:
> Bruno Desthuilliers <onurb at xiludom.gro> writes:
>> Too much useless lookup IMHO...
> 
> Actually, you, me, and Amit all mis-read David's original exapmle.

Actually, I plea not guilty - cf my answer to the OP !-)

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