ms word - how to read output from .doc file in python? -
i'm trying read text .doc file seems return hex-looking info file.
here's ide:
>>> output = open('letterlegal5.doc') >>> output.read() '\xd0\xcf\x11\xe0\xa1\xb1'
what information , how convert file readable text?
Comments
Post a Comment