Why ELIF?

MRAB python at mrabarnett.plus.com
Sun Oct 11 21:33:37 CEST 2009


Simon Forman wrote:
[snip]
> 
> I'll often do that this way:
> 
> args = re.split('\s', line)

This has the same result, but is shorter and quicker:

args = line.split()




More information about the Python-list mailing list