Re: Using xreadlines

2009-02-27 Thread Brett Hedges
m: bearophileh...@lycos.com > Subject: Re: Using xreadlines > To: python-list@python.org > Date: Thursday, February 26, 2009, 8:09 PM > Brett Hedges: > > My question is how do I go to a previous line in the > file? xreadlines has a file.next() statement that gives the > next line, an

Using xreadlines

2009-02-26 Thread Brett Hedges
Hi, I am using both xreadlines and files iterators for a script that I need to finish. I am iterating over the entire file but stopping to use xreadlines to grab certain lines as strings to process them. My question is how do I go to a previous line in the file? xreadlines has a file.next() s