View Single Post
Old Jun 12th, 2006, 12:57 PM   #9
Cerulean
Professional Programmer
 
Cerulean's Avatar
 
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4 Cerulean is on a distinguished road
I think that should be
import webbrowser
webbrowser.open("MyHTML.html")
edit: Heh, beaten to it

As for os.startfile, i'd imagine that uses Windows' start command or some such. KDE has similar functionality (and i'd bet Gnome does too). That would be cool to have cross platform, but would be tricky enough to implement.
Cerulean is offline   Reply With Quote