Convert PDF to DOC or DOCX format in Python

Contents
[ ]

To convert PDF document to DOC or DOCX format using Aspose.PDF Java for Python, simply invoke PdfToDoc module.

doc= self.Document()
pdf = self.Document()
pdf=self.dataDir + 'Template.pdf'
doc.save(self.dataDir + 'template.docx')
print "Document has been converted successfully"

Download Running Code

Download Convert PDF to DOC or DOCX (Aspose.PDF) from any of the below mentioned social coding sites: