re Challenge: More Compact?

Erik Max Francis max at alcyone.com
Mon Jul 16 07:27:13 CEST 2001


Quinn Dunkan wrote:

> How about:
> 
> for o in '.'.split(ip_addr):

You mean ip_addr.split('.').

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ All generalizations are dangerous, even this one.
\__/ Dumas Fils
    The laws list / http://www.alcyone.com/max/physics/laws/
 Laws, rules, principles, effects, paradoxes, etc. in physics.



More information about the Python-list mailing list