[Tutor] next element in list

2014-02-26 Thread rahmad akbar
hey guys i have this file i wish to parse, the file looks something like bellow. there are only four entry here (AaaI, AacLI, AaeI, AagI). the complete file contains thousands of entries =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= REBASE, The Restriction Enzyme

Re: [Tutor] next element in list

2014-02-26 Thread Dave Angel
rahmad akbar matbioi...@gmail.com Wrote in message: then i realized i couldn't do something like .next() to the var in_file which is a list. so i added a flag start = False in which will be turned to True upon 'Rich Roberts' found. is the any simpler way to move to the next element in the

Re: [Tutor] next element in list

2014-02-26 Thread Peter Otten
rahmad akbar wrote: hey guys i have this file i wish to parse, the file looks something like bellow. there are only four entry here (AaaI, AacLI, AaeI, AagI). the complete file contains thousands of entries =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Re: [Tutor] next element in list

2014-02-26 Thread rahmad akbar
David, Peter roger that and thanks so much!! On Wed, Feb 26, 2014 at 1:29 PM, Peter Otten __pete...@web.de wrote: rahmad akbar wrote: hey guys i have this file i wish to parse, the file looks something like bellow. there are only four entry here (AaaI, AacLI, AaeI, AagI). the