Re: Need help in extracting lines from word using python

2013-03-19 Thread razinzamada
Thanks DAVE On Tuesday, March 19, 2013 8:24:24 PM UTC+5:30, Dave Angel wrote: > On 03/19/2013 10:20 AM, razinzam...@gmail.com wrote: > > > I'm currently trying to extract some data between 2 lines of an input file > > > > Your subject line says "from word". I'm only guessing that you might >

Re: Need help in extracting lines from word using python

2013-03-19 Thread razinzamada
Thanks steven On Tuesday, March 19, 2013 8:11:22 PM UTC+5:30, Steven D'Aprano wrote: > On Tue, 19 Mar 2013 07:20:57 -0700, razinzamada wrote: > > > > > I'm currently trying to extract some data between 2 lines of an input > > > file using Python. the infile is set up such that there is a line

Re: Need help in extracting lines from word using python

2013-03-19 Thread Dave Angel
On 03/19/2013 10:20 AM, razinzam...@gmail.com wrote: I'm currently trying to extract some data between 2 lines of an input file Your subject line says "from word". I'm only guessing that you might mean Microsoft Word, a proprietary program that does not, by default, save text files. The fol

Re: Need help in extracting lines from word using python

2013-03-19 Thread Steven D'Aprano
On Tue, 19 Mar 2013 07:20:57 -0700, razinzamada wrote: > I'm currently trying to extract some data between 2 lines of an input > file using Python. the infile is set up such that there is a line > -START- where I need the next 10 lines of code if and only if the -END- > condition occurs before the

Need help in extracting lines from word using python

2013-03-19 Thread razinzamada
I'm currently trying to extract some data between 2 lines of an input file using Python. the infile is set up such that there is a line -START- where I need the next 10 lines of code if and only if the -END- condition occurs before the next -START-. The -START- line occurs many times before the