start reading from certain line

antar2 desothier at
Wed Jul 9 12:30:22 CEST 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


More information about the Python-list mailing list