Recursive function returning a list

Bruno Desthuilliers onurb at xiludom.gro
Wed Jul 19 12:27:43 EDT 2006


Steve Holden wrote:
> Bruno Desthuilliers wrote:
> 
>> Boris Borcic a écrit :
>>
>>> Hello Bruno,
>>>
>>> Bruno Desthuilliers wrote:
> 
> [...]
> 
>>>> Or how to *not* address the real problem...
>>>>
>>>> Boris, using a generator may be a pretty good idea, but *not* as a way
>>>> to solve a problem that happens to be a FAQ !-)
>>>
>>> Sorry, but I don't understand your reasoning.
>>
>>
>> It's quite simple. The OP's problem is well-known (it's a FAQ), and
>> easy to solve. The righ answer to it is obviously to give a link to
>> the FAQ 
>  
> So, why didn't you?
>
>> (or take time to re-explain it for the zillionth time), not to propose
>> a workaround.
>>
> Or did I miss something?

The fact that someone already did so ?


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