Cross platform web browser launch?
Posted: Mon Jul 11, 2016 4:49 am
Hi!
Is there anything like the Python webbrowser library to launch a file in the system specific web browser?
I'm currently using
where pfile is something like "c:\\temp\\card-preview.html", but this is very specifically Windows...
Thanks!
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)
Thanks!