Relative Content

Tag Archive for pythonpypdf

PyPDF internal Link Annotation Issue

i am trying to add a link to a pdf document currently its set up to eventually loop through and add multiple annotations to point to many different pages but as of right now i just need to get the annotation to wordk hardcoded on 1 file before i complete the loop.

PyPDF internal Link Annotation Issue

i am trying to add a link to a pdf document currently its set up to eventually loop through and add multiple annotations to point to many different pages but as of right now i just need to get the annotation to wordk hardcoded on 1 file before i complete the loop.

pypdf: extract_text in extraction_mode=”layout” is working if table is on one page but not working if the table goes to 2nd page

I am using pypdf to extract text and and using this code below. It works if the table is one page (closing the table), but if the table is extended to another page (partially on one page and the rest on a subsequent page), data from the 2nd page only being extracted. Are there any settings I can use, or can I remove page breaks from the PDF. Any help is much appreciated.

TypeError Sequence Indices must be integer

Am trying to populate data from csv into a pdf form using PYPDF2 library. However, getting following error when using the latest version of PYPDF2
TypeError: sequence indices must be integers