bearophileh...@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.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to