PyPDF2
PyPDF2 copied to clipboard
A utility to read and write pdfs with Python. Superseded: see https://github.com/knowah/PyPDF2
was: ``` python if newRes.has_key(key) and newRes[key] != page2Res[key]: ``` need: ``` python if newRes.has_key(key) and newRes[key] == page2Res[key]: ```
When I am trying to combine two pdf together, this error occurs. Both pdf are written in chinese, and I convert them from word document(.docx) to pdf using win32com. If...
I am porting my script from python27 to python33. When I run the code `pdf = PdfFileReader(open('xxxx.pdf', 'rb'))`, the error message appears: ``` Traceback (most recent call last): File ...,...
I have an input pdf with page numbers I, II, 123, 124, ... (they are like that because they are the same as in a print publication). If I just...
Fixing an issue when there is not data to decode: - In some cases the data to decode using the method `filters.decodeStreamData` is an empty string, I think that in...
The download for PyPDF2 is broken. I cannot download the package via pip. https://pypi.python.org/pypi/PyPDF2 Steps to reproduce: ``` bash $ pip search PyPDF2 PyPDF2 - PDF toolkit pypdf2table - PDF...
Hi, I'd like to create a read only PDF. I've written and executed the following code : ``` from PyPDF2.pdf import PdfFileReader, PdfFileWriter # create an empty pdf writer writer...
I'm not an expert on the PDF file format but I think that PDF files contains a "/Page" instruction for each page in it, and this is visible even if...
The version: > > > pyPdf.pdf.version_info > > > sys.version_info(major=2, minor=7, micro=3, releaselevel='final', serial=0) The error: return pyPdf.PdfFileReader(file(fileName, "r")).getNumPages() File "/usr/lib/pymodules/python2.7/pyPdf/pdf.py", line 374, in **init** self.read(stream) File "/usr/lib/pymodules/python2.7/pyPdf/pdf.py", line 778,...