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 -

android - IBM Worklight 6.1 [Application Error] There was a network error (file:///android_asset/www/index.html) -