[Tutor] question...

Samantha Warbey sjw28 at sussex.ac.uk
Mon Feb 20 16:59:43 CET 2006


I have blocks of text (in notebook files currently) that I need to read 3 
and analyse 3 characters at a time. [This is because I'm studying genes and 
codons are three characters in length]. How do I do this using python? I've 
currently only been able to find ways of analysing text line by line, but 
as I read, this text is all in one long string.

Thanks for your help,

Sam.


More information about the Tutor mailing list