Skip to content

Commit c4f0dbf

Browse files
committed
Added README
1 parent 8b8537f commit c4f0dbf

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

AUTOMATION/PDF To Text/README.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Extracting text from PDF using Python
2+
3+
Create a new folder and create a pdfToText.py file in it. Copy and paste the code in pdfToText.py in this repository to that file.
4+
5+
Open the Terminal:
6+
7+
```py
8+
pip install pdfminer.six
9+
```
10+
11+
In the same folder, add the pdf from which you want to extract text (Here the pdf used is test.pdf). Provide this pdf as a command line argument.
12+
13+
Run the script using:
14+
15+
```py
16+
python3 pdfToText.py test.pdf
17+
```
18+
19+
The extracted text will be available in converted_pdf.txt

0 commit comments

Comments
 (0)