反正有使用Python脚本读取.one(OneNote文件)吗?

Ans*_*hul 5 python onenote onenote-api

我正在尝试读取.one文件(OneNote文件),并想将其内容写入文本文件,但是没有找到使用Python进行编码的单一方法。请帮我解决一下这个。

Cai*_*gnm 0

尝试获取您的笔记内容:

./me/onenote/pages/1-1c13bcbae2fdd747a95b3e5386caddf1!1-xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx/content?includeIDs=true&includeInkML=true&preAuthenticated=true

Run Code Online (Sandbox Code Playgroud)

它会给你 text/html,你可以用https://pypi.org/project/lxml/解析它