SEARCH
PRICING
COMMUNITY
API
DOCS
INSTALL GREPPER
Log In
Signup
All Answers Tagged With pypdf2
pypdf2 install
deprecation error pdffilereader is deprecated and was removed in pypdf2
pypi pdf2 pypdf2 ModuleNotFoundError: No module named 'PyPDF2'
how to read a pdf PyPDF2
pypdf2 read pdf
Reading Metadata in python using pyPDF2
pypdf2 advanced tutorial
reader.getPage(pageNumber) is deprecated and was removed in PyPDF2 3.0.0. Use reader.pages[page_number] instead
PyPDF2.errors.DeprecationError: PdfFileWriter is deprecated and was removed in PyPDF2 3.0.0. Use PdfWriter instead*
I am using this: from PyPDF2 import PdfReader pdf_reader = PdfReader(file.name) texts = [] for page in pdf_reader.pages: text.append(page.extract_text()) However I want to keep track of the page number also, update the code to do so
Browse Answers By Code Lanaguage
Select a Programming Language
Shell/Bash
C#
C++
C
CSS
Html
Java
Javascript
Objective-C
PHP
Python
SQL
Swift
Whatever
Ruby
TypeScript
Go
Kotlin
Assembly
R
VBA
Scala
Rust
Dart
Elixir
Clojure
WebAssembly
F#
Erlang
Haskell
Matlab
Cobol
Fortran
Scheme
Perl
Groovy
Lua
Julia
Delphi
Abap
Lisp
Prolog
Pascal
PostScript
Smalltalk
ActionScript
BASIC
Solidity
PowerShell
GDScript
Excel