I am using Python-docx to create word documents/reports. Here, I am using a word document template. The generated word document is to be converted to a PDF. For this, I am using docx2pdf. However, even though my file name is specific like 'data_report.docx', the converted PDF file is showing as 'My Report.pdf'. How can I resolve this issue?
I am using Python-docx to create word documents/reports. Here, I am using a word document template. The generated word document is to be converted to a PDF. For this, I am using docx2pdf. However, even though my file name is specific like 'data_report.docx', the converted PDF file is showing as 'My Report.pdf'. How can I resolve this issue?