Cross platform web browser launch?

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

Cross platform web browser launch?

Post by oofoe »

Hi!

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...

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

Post Reply