Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!feeder3.cambriumusenet.nl!feed.tweaknews.nl!194.134.4.91.MISMATCH!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.042 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'myself,': 0.09; 'python?': 0.15; 'cc:addr:python-list': 0.15; '\xc2\xa0i': 0.16; '\xc2\xa0if': 0.16; 'wrote:': 0.16; 'convert': 0.19; 'jan': 0.19; 'cheers,': 0.20; "haven't": 0.20; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'received:209.85.212.46': 0.23; 'received:mail-vw0-f46.google.com': 0.23; 'extract': 0.24; 'cc:2**0': 0.25; 'sat,': 0.25; 'pm,': 0.26; 'script': 0.28; 'message-id:@mail.gmail.com': 0.28; 'cc:addr:python.org': 0.29; 'chris': 0.30; 'it.': 0.33; 'there': 0.33; 'this.': 0.33; 'loop': 0.34; 'received:209.85.212': 0.34; 'hi,': 0.34; 'file.': 0.34; 'file': 0.35; 'url:python': 0.36; 'received:google.com': 0.37; 'using': 0.37; 'happens': 0.37; 'received:209.85': 0.38; 'hoping': 0.38; 'url:org': 0.39; 'received:209': 0.39; 'subject:: ': 0.39; 'adobe': 0.63; 'investor': 0.77; 'sender:addr:chris': 0.84; 'subject:Adobe': 0.84; 'subject:PDF': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rebertia.com; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=yu4hBLEit0xih/gtOB0L91adMUoTzJDZJTnamjgUlJM=; b=Jwe/VoBc5mTN9ZirU6glzudzx53J24AoJhoWS/VX5Gz2cn02Xt2kRYLgVQxlv6Jles 6wXv9Fw+ptdTJ5Ng2MpNibdJKsN8MtEW9y49G/vZSyqyJ0AvUpemtZ0HYTVTHWpI89KS FYpFQFKaqxhl+zVW5vKnKsjJCSwfTEhwVF2M8= MIME-Version: 1.0 Sender: chris@rebertia.com In-Reply-To: References: Date: Sat, 28 Jan 2012 21:59:29 -0800 X-Google-Sender-Auth: -QPJGJcS_77GKK3gS40P_yVQOI4 Subject: Re: Reading Adobe PDF File From: Chris Rebert To: Shrewd Investor Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1327816772 news.xs4all.nl 6894 [2001:888:2000:d::a6]:38178 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:19572 On Sat, Jan 28, 2012 at 9:52 PM, Shrewd Investor wrote: > Hi, > > I have a very large Adobe PDF file. =C2=A0I was hoping to use a script to > extract the information for it. =C2=A0Is there a way to loop through a PD= F > file using Python? Haven't used it myself, but: http://www.unixuser.org/~euske/python/pdfminer/ > Or do I need to find a way to convert a PDF file into a text file? =C2=A0= If > so how? The pdf2txt.py script from the same package happens to do exactly this. Cheers, Chris