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…...as aw import aspose.words.saving as saving _license = aw.License()...set_license(str(ASPOSE_LICENSE_PATH)) ... doc = aw.Document(str(input_path)) try:...