[Numpy-discussion] String manipulation

Alan G Isaac aisaac@american....
Mon May 11 09:48:14 CDT 2009


On 5/11/2009 8:36 AM Nils Wagner apparently wrote:
> I would like to split strings made of digits after eight 
> characters each.


[l[i*8:(i+1)*8] for i in range(len(l)/8)]

Alan Isaac



More information about the Numpy-discussion mailing list