Converting docx to pdf with pure python (on linux, without libreoffice)
The PythonAnywhere help pages offer information on working with PDF files here: https://help.pythonanywhere.com/pages/PDF Summary: PythonAnywhere has a number of Python packages for PDF manipulation installed, and one of them may do what you want. However, shelling out to abiword seems easiest to me. The shell command abiword –to=pdf filetoconvert.docx will convert the docx file to … Read more