我正在尝试使用 texttract 将我的 .doc 文件转换为纯文本。
import textract
text = textract.process('path/to/file.extension')
但我收到这个错误
AttributeError: 'module' object has no attribute 'process'
确保您尝试运行的 Python 文件未命名textract.py
.
如果这是名称,您将收到错误:
AttributeError: 'module' object has no attribute 'process'
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)