sufficiently pythonic code for testing type of function
onurb at xiludom.gro
Mon Oct 16 11:57:06 CEST 2006
Fredrik Lundh wrote:
> Scott David Daniels wrote:
>> Nope. idempotent: f(f(x)) = f(x)
>> That is, after doing it once, repeating it won't hurt.
Thank you (Scott and Fredrik) for the correction.
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