Converting docx to pdf with pure python (on linux, without libreoffice)
I'm dealing with a problem trying to develop a web-app, part of which converts uploaded docx files to pdf files (after some processing). With python-docx and other methods, I do not require a windows machine with word installed, or even libreoffice on linux, for most of the processing (my web server is pythonanywhere - linux but without libreoffice and without sudo or apt install permissions). But converting to pdf seems to require one of those. From exploring questions here and elsewhere, this is what I have so far: import subprocess try: from comtypes import client except ImportError: client
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.