Working With Comments in Python

Aspose.Words - Process Comments

Python Code

Document = jpype.Jclass("com.aspose.words.Document")
doc = Document("data/TestFile.doc")
\# Collect all comments in the document
comments = doc.getChildNodes(self.nodeType.COMMENT, True).toArray()

Download Running Code

Download Process Comments (Aspose.Words) form any of the below mentioned social coding sites: