Contoh Doc2Text Python

import win32com.client
app = win32com.client.Dispatch('Word.Application')
doc = app.Documents.Open('c:\\files\\mydocument.doc')
text = doc.Content.Text
Print(text)
app.Quit()
Annoying Albatross