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

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -