I'm not able to extract the text from *.doc file
res = subprocess.Popen(['antiword', filepath], stdout=subprocess.PIPE, stderr=subprocess.PIPE,
shell=True).communicate()[0], extension
print(res)
#return res
exit()
I'm getting the result like
(b'', 'doc')