convert pptx file to pdf python code example Example: linux pptx to pdf libreoffice --headless --invisible --convert-to pdf *.pptx