× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Just a clarification: for option 2 (Python 3), you'd need to do:

pip3 install pypdf2

For option 4 (Python 2), you'd need to do:

pip2 install pypdf2 (pip will also work)


If we'd planned better, we could have had a much more understandable
option number to version number mapping:

option 2 -> Python 2
option 3 -> Python 3
option 4 -> Node 4

Sadly, we have instead:

option 2 -> Python 3
option 4 -> Python 2
option 5 -> Node 4


"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> wrote on 06/22/2016
01:42:01 PM:

From: John Yeung <gallium.arsenide@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 06/22/2016 01:43 PM
Subject: Re: PDF Splitter
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>

On Wed, Jun 22, 2016 at 2:12 PM, Aaron Bartell <aaronbartell@xxxxxxxxx>
wrote:
Not sure if you're open to open source solutions, but here's one
that's
written in Node.js: https://github.com/galkahana/HummusJS** Note it
is
written on top of http://pdfhummus.com which is written in C++ and
would
need to be compiled on Power.

There is a pure-Python (no C, no C++, no compilation step) library
called PyPDF2 which can do this:

http://mstamy2.github.io/PyPDF2/

The name is unimaginative, but it works well in most cases, and should
run anywhere Python runs, including IBM i. For those with 5733OPS
Option 2 installed, you can get this package by doing

pip install pypdf2

at a QSH or QP2TERM command line. Then, within Python, do

import PyPDF2

and you are ready to start experimenting with its capabilities.
(Disclaimer: I have only confirmed that it installs correctly with pip
and that it imports correctly within Python; I have not actually USED
the package for anything myself.)

John Y.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.