Separating elements from a list according to preceding element

Rob Cowie cowie.rob at gmail.com
Mon Mar 6 12:13:15 CET 2006


Thanks everyone. I assumed there was something I had not considered...
list slicing is that thing.

The pyParsing example looks interesting - but for this case, a little
too heavy. It doesn't really warrant including a third party module.

Rob C




More information about the Python-list mailing list