How to extract certain set of lines from PDF

razinzamada at gmail.com razinzamada at gmail.com
Tue Mar 19 15:01:52 CET 2013


Thank you for your response,in case if its a word file how could i do this.

On Tuesday, March 19, 2013 7:16:00 PM UTC+5:30, Joel Goldstick wrote:
> On Tue, Mar 19, 2013 at 9:16 AM,  <adamn... at gmail.com> wrote:
> 
> Hello,
> 
> 
> 
> I need to extract certain set of lines from PDF
> 
> Ex:-
> 
> IF(......)
> 
> ..........
> 
> ..........
> 
>    IF(.....)
> 
>    ...........
> 
>    ...........
> 
>    ENDIF
> 
> ENDIF
> 
> 
> 
> I need to copy entire lines from first "IF" till last "ENDIF".and extract it to seperate row of excel sheet.when ever a new occurrance of this kind of IF loops are found out.
> 
> --
> 
> http://mail.python.org/mailman/listinfo/python-list
> 
> 
> 
> You might start with this: http://knowah.github.com/PyPDF2/
> 
> 
> I've never had to read pdf files, but it looks like there are several libraries to choose from
> 
> 
> 
> 
> -- 
> 
> 
> Joel Goldstick
> http://joelgoldstick.com



More information about the Python-list mailing list