十年匠心定制 · 商业建站与技术教学双线并行 咨询热线:400-886-1026 service@lmnt.cn
ARTICLE DETAIL

资讯详情

深耕网站建设与运营推广的一线实战洞察。

Anydoc使用

Anydoc使用 1、说明可快速将各种文件转为md文件2、开源网址GitHub - firecrawl/anydoc: Convert Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV, and PDF to clean Markdown. Built in Rust, with Node.js and Python bindings. · GitHubPython教程anydoc/python/README.md at main · firecrawl/anydoc · GitHub3、安装方式1在Assets里下载whl文件然后pip install xxx.whl方式2pip install firecrawl-anydoc4、pdf转mdimport anydoc # From a file path: markdown anydoc.to_markdown(test.pdf) # 打开文件写入utf-8编码避免中文乱码 with open(output.md, w, encodingutf-8) as f: f.write(markdown)
返回列表