fromgroupdocs.conversionimportConverterfromgroupdocs.conversion.options.convertimportPdfConvertOptionsdefconvert_document():# Open the source documentwithConverter("./business-plan.docx")asconverter:# Define conversion options for PDF outputpdf_options=PdfConvertOptions()# Perform the conversion and save the resultconverter.convert("./business-plan.pdf",pdf_options)if__name__=="__main__":convert_document()