My application prints a PDF to a temporary file. How can I open that file with the default application in Python?
I need a solution for
if linux: os.system('xdg-open "$file"') #works for urls too else: os.system('start "$file"') #a total guess