View Single Post
Old Jun 12th, 2006, 10:39 AM   #7
Dietrich
Professional Programmer
 
Dietrich's Avatar
 
Join Date: Feb 2005
Posts: 434
Rep Power: 4 Dietrich is on a distinguished road
Quote:
Originally Posted by titaniumdecoy
I'm curious as to what this is supposed to do. I tried what you said, but it gave me an error (AttributeError: 'module' object has no attribute 'startfile').
In the manual it states that this is only good for Windows OS, it simulates the double-click on the filename.

I think this will work with most operating systems according to the manual:
import webbrowser
webbrowser("MyHTML.html")
__________________
I looked it up on the Intergnats!
Dietrich is offline   Reply With Quote