Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #41491 > unrolled thread

How to extract certain set of lines from PDF

Started byadamnizar01@gmail.com
First post2013-03-19 06:16 -0700
Last post2013-03-19 07:01 -0700
Articles 4 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  How to extract certain set of lines from PDF adamnizar01@gmail.com - 2013-03-19 06:16 -0700
    Re: How to extract certain set of lines from PDF Joel Goldstick <joel.goldstick@gmail.com> - 2013-03-19 09:46 -0400
      Re: How to extract certain set of lines from PDF razinzamada@gmail.com - 2013-03-19 07:01 -0700
      Re: How to extract certain set of lines from PDF razinzamada@gmail.com - 2013-03-19 07:01 -0700

#41491 — How to extract certain set of lines from PDF

Fromadamnizar01@gmail.com
Date2013-03-19 06:16 -0700
SubjectHow to extract certain set of lines from PDF
Message-ID<b26d653e-fd1a-4e27-a0f9-da432251ea7e@googlegroups.com>
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.

[toc] | [next] | [standalone]


#41492

FromJoel Goldstick <joel.goldstick@gmail.com>
Date2013-03-19 09:46 -0400
Message-ID<mailman.3501.1363700763.2939.python-list@python.org>
In reply to#41491

[Multipart message — attachments visible in raw view] — view raw

On Tue, Mar 19, 2013 at 9:16 AM, <adamnizar01@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

[toc] | [prev] | [next] | [standalone]


#41495

Fromrazinzamada@gmail.com
Date2013-03-19 07:01 -0700
Message-ID<68de7633-a07b-495b-b555-2951508027bc@googlegroups.com>
In reply to#41492
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...@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

[toc] | [prev] | [next] | [standalone]


#41497

Fromrazinzamada@gmail.com
Date2013-03-19 07:01 -0700
Message-ID<mailman.3503.1363701722.2939.python-list@python.org>
In reply to#41492
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...@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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web