slicing functionality for strings / Python suitability forbioinformatics

jbperez808 at jbperez808 at
Tue Sep 20 04:40:12 CEST 2005

Having to do an array.array('c',...):

  >>> x=array.array('c','ATCTGACGTC')
  >>> x[1:9:2]=array.array('c','AAAA')
  >>> x.tostring()

is a bit klunkier than one would want, but I guess
the efficient performance is the silver lining here.

More information about the Python-list mailing list