I want to convert a word file into a pdf file using python, but without any notes that I added to the word file.
I am using PyPDF2 library and convert() function.
for paragraph in infile.paragraphs: for run in paragraph.runs: if run.comment: run.clear()
The above codes didn't work.