我试图在Windows 7中使用pypdfocr与Python 2.7。 这是错误消息我收到的时候我尝试pypdfocr在cmd: C:\Users\chamar.stu>pypdfocr F:\test2.pdf Starting conversion of F:\test2.pdf 'pdfimages' is not recognized as an internal or external
我使用python 2.7和pyPDF从PDF文件中获取标题元信息。不幸的是,并非所有的PDF都有元信息。我现在想要做的是从PDF中获取前两行文本。使用我现在拥有的如何修改代码来捕获pyPDF的前两行? from pyPdf import PdfFileWriter, PdfFileReader
import os
for fileName in os.listdir('.'):