[reportlab-users] open pdf

Damian Moore damian at reportlab.com
Thu Jun 18 06:02:23 EDT 2009


On Thu, 2009-06-18 at 10:37 +0100, Andy Robinson wrote:

> os.system("acroread "+pdfFilePath) #linux if you installed acroread

> os.system("evince "+pdfFilePath) #linux (Ubuntu lightweight

> viewer, installed by default)


This will use the system default application on linux and other
unix-like desktops which follow free desktop standards:

os.system("xdg-open "+pdfFilePath)



More information about the reportlab-users mailing list