[Tutor] Converting files

Steven D'Aprano steve at pearwood.info
Tue Apr 12 14:02:52 CEST 2011


sunil tech wrote:
> Hi all...
> 
> is there any way to convert any file (eg: document files & image files) to
> .pdf?

If the file is printable, print it to a PDF gateway that generates a PS 
or PDF file.

If it is a Microsoft Office document, or similar, then install 
OpenOffice or LibreOffice and use it to convert to PDF.

If it's not printable, then your question doesn't make sense. What would 
an ISO or EXE or ZIP file look like converted to PDF?

But I wonder whether you bothered to google for "python pdf" first? The 
very first link is a comprehensive review of installing and using a PDF 
generator from Python.




-- 
Steven



More information about the Tutor mailing list