start reading from certain line

antar2 desothier at yahoo.com
Wed Jul 9 06:30:22 EDT 2008


I am a starter in python and would like to write a program that reads
lines starting with a line that contains a certain word.
For example the program starts reading the program when a line is
encountered that contains 'item 1'


The weather is nice
Item 1
We will go to the seaside
...

Only the lines coming after Item 1 should be read

Thanks!



More information about the Python-list mailing list