Cross Platform Browser Launcher

F

Fuzzyman

I've written a simple application in python with an HTML help file.

I'm looking for a cross platform way of launching the help file.

On windows I'd use :
os.system('start help.html')

Which automatically opens the file with the users browser.

Is there a cross-platform way of doing the same thing ?
I can do a platform test and use different techniques for different
systems - but I don't know how to achieve the same effect on a Linux
(Unix ? Mac ?) machine.....

Any help appreciated.

Fuzzy

--


http://www.Voidspace.org.uk The Place where headspace meets
cyberspace. Online resource site - covering science, technology,
computing, cyberpunk, psychology, spirituality, fiction and more.

---

http://www.voidspace.org.uk/atlantibots/pythonutils.html
Python functions - home of dateutils, ConfigObj, StandOut, CGI-News
and more....

--

Everyone has talent. What is rare is the courage to follow talent
to the dark place where it leads. -Erica Jong
Ambition is a poor excuse for not having sense enough to be lazy.
-Milan Kundera
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top