📜  pdf 转文本 python 3 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:50.821000             🧑  作者: Mango

代码示例3
pip install PyPDF2
import PyPDF2
pdfFileObject=open(r"F:\fileName.pdf",'rb')
pdfReader = PyPDF2.PdfFileReader(pdfFileObject) //Creating reader obj
print(" No. Of Pages :", pdfReader.numPages)//To know no.of pages