String Splitter Brain Teaser

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Mon Mar 28 07:12:15 EST 2005


This is shorter:
map(list,' '.join(s).replace(' / ','').split())

but for very long genomes Michael Spencer's nice version can be faster.

Hugs,
Bearophile




More information about the Python-list mailing list