need fast parser for comma/space delimited numbers

Les Schaffer godzilla at netmeg.net
Sun Mar 19 03:39:22 CET 2000


> Why are you using filter?  Why not just

> return string.split(str, self.splitStr)

(grumble ... moan .... self-loathing.....)

i was doing this:

x = string.split( 'hey boo   whadya got   in your    picnic  basket',' ' )

and getting 

['hey', 'boo', '', '', 'whadya', 'got', '', '', 'in', 'your', '', '',
'', 'picnic', '', 'basket']

hey! dats how we dit eet in perl, no????

les



More information about the Python-list mailing list