📜  pdf 到 docx - 任何代码示例

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

代码示例4
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