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

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

Hugs,
Bearophile

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to