我想使用ubuntu16.x中的python3.x将PDF转换为docx。我看了下面给出的代码: for top, dirs, files in os.walk(pdfdir): if filename.endswith('.pdf'): abspath_pdf = os.path.normpath(os.path.join(top, filename))
print'Converti
question and there may be a blank line above我曾尝试使用word/pages将pdf转换为txt,并逐行阅读文本,但我无法识别问题和答案。另一个问题是,当我进行转换时,pdf的自动换行转换为换行符。注意:这个过程是
pdf -> use word/pages -> txt -> python prog