title: Python olefile extract text of body
body: <p>I been trying to extract the text content of a msg file in the disk using python module olefile. But getting <code>AttributeError: OleFileIO instance has no attribute 'read'</code>. Tried to read olefile API but could not get any clue. Thank you.</p>
  
  <pre><code>import sys,olefile
  
  x=olefile.OleFileIO('dkd.msg')
  
  print x.read()
  </code></pre>