You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- PyPDF2 - It is used in Python for PDF related operations
5
+
6
+
## How it Works?
7
+
* Import PyPDF2 Module to:-
8
+
* Read the pdf into the program to further manipulate it
9
+
* Count the number of pages in the PDF
10
+
* Extract the text from a single PDF page
11
+
* Initialize an empty string
12
+
* A for loop parses through each page
13
+
* The extractText() function is used to extract text from the parsed PDF page
14
+
* The extracted text is added to the emptry string initialized
15
+
* After parsing is done, the string in which the extracted text is stored is written in a new file named **extracted_text.txt** using basic File Handling in Python
0 commit comments