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

Will McGugan news at NOwillmcguganSPAM.com
Sun Jun 12 11:46:44 EDT 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 want the 'webbrowser' module.

http://docs.python.org/lib/module-webbrowser.html

Will McGugan
-- 
http://www.willmcgugan.com
"".join({'*':'@','^':'.'}.get(c,0) or chr(97+(ord(c)-84)%26) for c in 
"jvyy*jvyyzpthtna^pbz")



More information about the Python-list mailing list