Why ELIF?

MRAB python at mrabarnett.plus.com
Sun Oct 11 15:33:37 EDT 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