Open HTML file in IE

imageguy imageguy1206 at gmail.com
Thu Jul 19 07:02:15 EDT 2007


On Jul 18, 3:20 am, gravey <mark_s_ro... at hotmail.com> wrote:
> Hello.
>
> Apologies if this is a basic question, but I want to open a HTML
> file from my local drive (is generated by another Python script)
> in Internet Explorer. I've had a look at the webbrowser module and
> this doesn't seem to be what I need. Any help much appreciated.

check out the os module.
os.startfile("your_htmlfile.html") should do it.




More information about the Python-list mailing list