def pdfview(path):
    """ Use PDF viewer to display pdf file. """
    if os.path.exists(PDF_VIEWER):
        subprocess.call([PDF_VIEWER, path])
    else:
        println("%s not installed." % PDF_VIEWER)
 Use PDF viewer to display pdf file. 
recipes/Python/579136_Roll_your_own_Postscript_code/recipe-579136.py