Page 1 of 1

Cross platform web browser launch?

Posted: Mon Jul 11, 2016 4:49 am
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!