How do I go about converting a word file to a pdf in python? I use replit, so I realise that rules out all the options that require linux to install Office
Many thanks,
ideally, this is what i expect
input(DOCUMENT.docx)
document.docx.convert(pdf)
output(DOCUMENT.pdf)