Re: How do I cut parts from a text file

2004-12-21 Thread Fredrik Lundh
"Rigga" <[EMAIL PROTECTED]> wrote: > I am new to Python and need to parse a text file and cut parts out i.e. say > the text file contained 5 rows of text: > > line 1 of the text file > line 2 of the text file > line 3 of the text file > line 4 of the text file > line 5 of the text file > > And the

How do I cut parts from a text file

2004-12-21 Thread Rigga
Hi, I am new to Python and need to parse a text file and cut parts out i.e. say the text file contained 5 rows of text: line 1 of the text file line 2 of the text file line 3 of the text file line 4 of the text file line 5 of the text file And the text I want starts at line 2 and goes through to