Comments (3)
PyPDF2 is obsolete. Feature should be available in pypdf
from pypdf.
Just installed and re-ran code with pypdf,
I get the same error as with PyPDF2.
Traceback (most recent call last):
File "pdfotxt.py", line 22, in <module>
with PdfReader(pdf_file_path) as reader:
AttributeError: __enter__
from pypdf.
Can you propose a PR?
from pypdf.
Related Issues (20)
- Use token for Codecov
- `Ressources` deprecation does not work for some python versions HOT 2
- Rotated a pdf and Trying to extract images from the pdf it extracted unrotated pdfs HOT 4
- local variable 'cm' referenced before assignment HOT 15
- Insert image on a signature field in pypdf
- pdf should be how to replace the text in pdf, but do not change the original layout, only add or delete two words, in GitHub for a long time did not find, why
- PyPDF some fields not showing in generated PDF HOT 27
- Functionality of b_ HOT 6
- Form Fill Font Size and Orientation wrong HOT 2
- Form fill font extra \x00 and font size HOT 1
- Option to clear all images from a page HOT 1
- Version 4.3.0 writer unable to fill Dropdown fields HOT 2
- Broken docs link on PyPI HOT 3
- Filled Choice Fields Not Rendered Correctly By Adobe Acrobat HOT 6
- `TypeError` in `_cmap.py` when calling `extract_text()` HOT 6
- Documentation: Adding internal link code snippet is incorrect. HOT 1
- git tag was not created for 4.3.0 HOT 3
- [4.3.0] Regression when decoding strings
- PdfWriter unable to add reader HOT 8
- Paragraph field not showing correct HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pypdf.