【软件推荐——pdf2docx】

pdf2docx

Open source Python library for converting PDF to DOCX.

https://github.com/ArtifexSoftware/pdf2docx

Install

bash 复制代码
pip install pdf2docx

使用

python 复制代码
from pdf2docx import Converter

pdf_file = 'D:\my\c4611_sample_explain.pdf'
docx_file = 'D:\my\c4611_sample_explain.docx'

# convert pdf to docx
cv = Converter(pdf_file)
cv.convert(docx_file)      # all pages by default
cv.close()

效果

左边PDF,右边World

相关推荐
花花无缺2 分钟前
python自动化-pytest-用例发现规则和要求
后端·python
YUELEI11832 分钟前
langchain 提示模版 PromptTemplate
python·langchain
东方不败之鸭梨的测试笔记36 分钟前
LangChain: Models, Prompts 模型和提示词
人工智能·python·langchain
微三云-轩1 小时前
小程序:12亿用户的入口,企业数字化的先锋军
大数据·小程序·开源软件
AI Echoes1 小时前
别再手工缝合API了!开源LLMOps神器LMForge,让你像搭积木一样玩转AI智能体!
人工智能·python·langchain·开源·agent
AI Echoes1 小时前
从零构建企业级LLMOps平台:LMForge——支持多模型、可视化编排、知识库与安全审核的全栈解决方案
人工智能·python·langchain·开源·agent
beijingliushao2 小时前
58-正则表达式
数据库·python·mysql·正则表达式
陈敬雷-充电了么-CEO兼CTO2 小时前
具身智能多模态感知与场景理解:融合语言模型的多模态大模型
人工智能·python·gpt·语言模型·自然语言处理·chatgpt·多模态
荔枝吻2 小时前
【AI总结】Python BERT 向量化入门指南
人工智能·python·bert
张子夜 iiii2 小时前
传统神经网络实现-----手写数字识别(MNIST)项目
人工智能·pytorch·python·深度学习·算法