我无法从* .doc文件中提取文本
res = subprocess.Popen(['antiword', filepath], stdout=subprocess.PIPE, stderr=subprocess.PIPE,
shell=True).communicate()[0], extension
print(res)
#return res
exit()
我得到的结果就像
(b'','doc')