Cross Platform Browser Launcher

Fuzzyman michael at foord.net
Wed Jan 28 04:18:21 EST 2004


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



More information about the Python-list mailing list