how to startup the default web browser to open a url?

erinhouston at erinhouston at
Mon Jun 13 05:38:52 CEST 2005

flyaflya wrote:
> I want to startup the default web browser(ie...) to open a url, "execl"
> can open a process, but when the process exit, the other process will
> exit too, has any why to deal this problem?

You can do this with the win32aip module found in win32all
Home page
....import win32api
....a = win32api.ShellExecute(0,None,"",None,None,1)

Hope that is of help


More information about the Python-list mailing list