Entry
Starting browser from Python (was: Need help with HTML files)
Jul 5th, 2000 10:03
Nathan Wallace, unknown unknown, Hans Nowak, Snippet 332, Thomas Heller
"""
Packages: operating_systems.windows
"""
"""
> i would like to open a local html file from within python,
> When the html is opened, it should be opened like if you double click
> on the filename, so it uses the know filetype from windows.
>
> in short , when someone has netscape as the default browser.
> I open the html file python should call the html file , and windows
> opens the default browser with the file as argument.
"""
import os
os.system ("start c:\\myfile.html")