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
Post a Comment