Functional schmunctional...

r0g aioe.org at technicalbloke.com
Wed Feb 11 00:38:20 CET 2009


bearophileHUGS at lycos.com wrote:
> Here a small benchmark:
> 
> def ip2inet01(a): # can't be used with 6
>     li = a.split('.')
<snip>

Wow, thanks everybody for all the suggestions, v.interesting esp as I
didn't even ask for any suggestions!  This is a fantastically didactic
newsgroup: you start off just musing about functional programming, you
end up learning python has a rich set of augmented assignment operators,
brilliant :-)


Roger Heathcote.



More information about the Python-list mailing list