import aspose.words as aw
import aspose.words.saving as saving
_license = aw.License()
_license.set_license(str(ASPOSE_LICENSE_PATH))
...
doc = aw.Document(str(input_path))
try:
doc.save(str(output_path), aw.Save…...LICENSE_PATH)) ... doc = aw.Document(str(input_path)) try: doc...doc.save(str(output_path), aw.SaveFormat.DOCX) except: logger...