DEV Community

Discussion on: Convert PDF to Editable DOCX with Python

Collapse
 
tilalahmad profile image
Tilal Ahmad Sana

@medhagupta098
If your conversion is successful then either you can view/download your file from cloud storage using dashboard.groupdocs.cloud or download file to local drive as follows:

#Download Document from Storage        
request_download = groupdocs_conversion_cloud.DownloadFileRequest(output_name)
response_download = file_api.download_file(request_download)

copyfile(response_download, 'sample_copy.docx')
print("Result {}".format(response_download))