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


Groups > comp.lang.python > #41497

Re: How to extract certain set of lines from PDF

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <razinzamada@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.019
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'subject:How': 0.09; 'endif': 0.09; 'subject:set': 0.09; 'to:addr:comp.lang.python': 0.09; 'url:github': 0.09; 'cc:addr:python-list': 0.10; '"if"': 0.16; 'loops': 0.16; 'occurrance': 0.16; 'row': 0.16; 'seperate': 0.16; 'wrote:': 0.17; 'libraries': 0.22; 'this:': 0.23; "i've": 0.23; 'cc:no real name:2**0': 0.24; 'cc:2**1': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'looks': 0.26; 'am,': 0.27; 'cc:addr:gmail.com': 0.27; 'lines': 0.28; 'url:mailman': 0.29; 'this.': 0.29; 'url:python': 0.32; 'file': 0.32; 'could': 0.32; 'url:listinfo': 0.32; 'certain': 0.33; 'extract': 0.33; 'excel': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'url:org': 0.36; 'thank': 0.36; 'pdf': 0.37; 'received:209': 0.37; 'received:209.85.216': 0.37; 'subject:: ': 0.38; 'several': 0.39; 'hello,': 0.39; 'url:mail': 0.40; 'your': 0.60; 'from:no real name:2**0': 0.60; 'first': 0.61; 'kind': 0.61; 'ever': 0.63; 'choose': 0.65; '..........': 0.84; '2013': 0.84; 'joel': 0.91
X-Received by 10.50.187.133 with SMTP id fs5mr208343igc.12.1363701713264; Tue, 19 Mar 2013 07:01:53 -0700 (PDT)
Newsgroups comp.lang.python
Date Tue, 19 Mar 2013 07:01:52 -0700 (PDT)
In-Reply-To <mailman.3501.1363700763.2939.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=199.63.142.252; posting-account=GeTYGQoAAABfBC2zuW1DVIGJ9smkbUcQ
References <b26d653e-fd1a-4e27-a0f9-da432251ea7e@googlegroups.com> <mailman.3501.1363700763.2939.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-IP 199.63.142.252
MIME-Version 1.0
Subject Re: How to extract certain set of lines from PDF
From razinzamada@gmail.com
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Cc "python-list@python.org" <python-list@python.org>, adamnizar01@gmail.com
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.3503.1363701722.2939.python-list@python.org> (permalink)
Lines 55
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1363701722 news.xs4all.nl 6879 [2001:888:2000:d::a6]:59600
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:41497

Show key headers only | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web