Newbie FAQ? How to open HTML files through Pyhton OS independend?

Joonas Paalasmaa joonas.paalasmaa at nokia.com
Thu Jul 5 06:41:15 EDT 2001


Peter Biela wrote:
> 
> Sorry for asking such a simple question, but how can I open a HTML
> documentation file from within my program, considering that it has to run on
> both Linux and Windows?
> 
> Is there an easy possiblity to show HTML files in TK? or Is it better to use
> a standard browser?
> 
> Thanx for any help, or locations where to find answears!

Try webbrowser module.
http://www.python.org/doc/current/lib/module-webbrowser.html



More information about the Python-list mailing list