Re: reading text in pdf, some working sample code

2017-11-22 Thread Bob van der Poel
On Wed, Nov 22, 2017 at 5:39 PM, Jon Ribbens wrote: > On 2017-11-21, Daniel Gross wrote: > > I am new to python and jumped right into trying to read out (english) > text > > from PDF files. > > That's not a trivial task. However I just released pycpdf, which might > help you out. Check out https

ANN: DIPY 0.13.0

2017-11-22 Thread Eleftherios Garyfallidis
Hello all, We are happy to announce a new public release of DIPY. This is mostly a maintenance release with extra fixes, speedups and minor changes of dependencies. *DIPY 0.13 (Tuesday, 24 October 2017)* This release received contributions from 13 developers (the full release notes are at: http:

Re: reading text in pdf, some working sample code

2017-11-22 Thread Jon Ribbens
On 2017-11-21, Daniel Gross wrote: > I am new to python and jumped right into trying to read out (english) text > from PDF files. That's not a trivial task. However I just released pycpdf, which might help you out. Check out https://github.com/jribbens/pycpdf which shows an example of extracting

Re: How to Generate dynamic HTML Report using Python

2017-11-22 Thread Rick Johnson
Chris Angelico wrote: > Gregory Ewing > > > > It looks like I'm going to have to filter Mr. Ram's posts > > out of my usenet feed as well, lest I accidentally show > > one of his URIs as a link on my screen. > > Or, just ignore his copyright altogether, and let him prove > its defensibility in co

Fwd: pip3 file in Scripts folder is missing

2017-11-22 Thread pavan kopparthi
Hi, Installed Python 3.6.3 Amd64 in Windows 10 OS. But pip3 file in Scripts folder is missing. Scripts folder is empty. -- Reg, Pavan Kumar K Mob: +91 8801401789 <088014%2001789> Vir

Finding the module object in Python 3 C extensions

2017-11-22 Thread Jon Ribbens
In Python 2, a C extension module's global state was stored in global variables. This obviously means the state is trivially accessible to all code in the module. In Python 3, you are supposed to store the global state in an allocated memory area instead. For functions defined directly under the m

Re: How to add months to a date (datetime object)?

2017-11-22 Thread abiodun . ogunmolu
How about this... from dateutil.relativedelta import relativedelta myDate = datetime.date.today() + relativedelta(months=3) On Sunday, March 15, 2009 at 5:28:24 PM UTC, tin...@isbd.co.uk wrote: > I have a date in the form of a datetime object and I want to add (for > example) three months to it.

Re: Student can't get if elif final statement to print for discussion post for python

2017-11-22 Thread Rick Johnson
Richard Damon wrote: > Cheri Castro wrote: > > I've tried several variations but haven't been able to > > figure out why my final if elif statement won't print. I > > tried using return, I tried using 1's and 0's rather than > > yes and no. Not sure what the issue is. Please, help. > > > > > > #Thi

Re: General Purpose Pipeline library?

2017-11-22 Thread Friedrich Rentsch
On 11/22/2017 10:54 AM, Friedrich Rentsch wrote: On 11/21/2017 03:26 PM, Jason wrote: On Monday, November 20, 2017 at 10:49:01 AM UTC-5, Jason wrote: a pipeline can be described as a sequence of functions that are applied to an input with each subsequent function getting the output of the

Re: General Purpose Pipeline library?

2017-11-22 Thread Friedrich Rentsch
On 11/21/2017 03:26 PM, Jason wrote: On Monday, November 20, 2017 at 10:49:01 AM UTC-5, Jason wrote: a pipeline can be described as a sequence of functions that are applied to an input with each subsequent function getting the output of the preceding function: out = f6(f5(f4(f3(f2(f1(in

Re: General Purpose Pipeline library?

2017-11-22 Thread Friedrich Rentsch
On 11/21/2017 03:26 PM, Jason wrote: On Monday, November 20, 2017 at 10:49:01 AM UTC-5, Jason wrote: a pipeline can be described as a sequence of functions that are applied to an input with each subsequent function getting the output of the preceding function: out = f6(f5(f4(f3(f2(f1(in

Re: "help( pi )"

2017-11-22 Thread Cameron Simpson
On 22Nov2017 18:47, Greg Ewing wrote: Cameron Simpson wrote: one could change implementations such that applying a docstring to an object _removed_ it from the magic-shared-singleton pool, That's not sufficient, though. Consider: BUFFER_SIZE = 256 BUFFER_SIZE.__doc__ = "Size of the buf