可以使用 python-docx 库来读取 doc 格式的文件。

首先,你需要安装 python-docx 库:

pipinstall python-docx
Logo

技术共进,成长同行——讯飞AI开发者社区

更多推荐