Cross platform web browser launch?

Machine-specific discussion
Unix, Linux, OS X, OS/2, Windows, ..?
Post Reply
Posts: 60
Joined: Wed Sep 28, 2005 7:13 pm

Cross platform web browser launch?

Post by oofoe »


Is there anything like the Python webbrowser library to launch a file in the system specific web browser?

I'm currently using

Code: Select all

(! (string "explorer.exe " pfile) 0)
where pfile is something like "c:\\temp\\card-preview.html", but this is very specifically Windows...

Testing can show the presence of bugs, but not their absence.

Post Reply