Extract text from Microsoft Word with final version track changes using Python? -


import win32com.client  def function( directory ) :     app = win32com.client.dispatch( 'word.application' )     doc = app.documents.open( directory )     text = doc.content.text     app.quit() 

i using code extract contents microsoft word docs extracts "final showing markup" version. want extract contents of "final" version. there way using pywin32?

i don't know pywin32, alternative cold extract whole thing each time , pass them git. give full history of changes between versions.


Comments

Popular posts from this blog

ruby on rails - Is it the correct way to implement belongs_to relation with factory girl? -

geolocation - Windows Phone 8 - Keeping background location tracking active beyond four hours -

Uncaught TypeError: Cannot read property 'parentNode' of null javascript -