安装包
pip install pdf2docx
执行代码
from pdf2docx import Converter
biantai= Converter(r'D:\Desktop\\111.pdf')
biantai.convert(r'D:\Desktop\\111.docx')
biantai.close()
安装包
pip install pdf2docx
执行代码
from pdf2docx import Converter
biantai= Converter(r'D:\Desktop\\111.pdf')
biantai.convert(r'D:\Desktop\\111.docx')
biantai.close()