open default web browser using python

Mickel Grönroos mickel at
Wed Mar 10 10:41:01 CET 2004

On Wed, 10 Mar 2004, Gregor Leban wrote:

> When clicking on one of the menu
> items, we would like to open the default web browser for that platform with
> a specific html page. Is there any python function that can do that?

Look at the webbrowser module:

import webbrowser"")


/Mickel G.

Mickel Grönroos, application specialist, linguistics, Research support, CSC
PL 405 (Tekniikantie 15 a D), 02101 Espoo, Finland, phone +358-9-4572237
CSC is the Finnish IT center for science,

More information about the Python-list mailing list