cxyxc / PDF2TXT

It's a python script that convert PDF to txt using PDFMiner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDF2TXT

It's a python script that convert PDF to TXT using PDFMiner.

There are two main functions that you can choose to use.

onePdfToTxt(filepath, outpath)
manyPdfToTxt(fileDir)

The first function will convert one PDF file to TXT file.

And the second function will convert all PDF files in the folder to TXT files

Example

onePdfToTxt('myPDF.pdf', 'myTXT.txt')

manyPdfToTxt('myPDFFolderPath')

About

It's a python script that convert PDF to txt using PDFMiner


Languages

Language:Python 100.0%