[Python-Dev] webbrowser.py: browser >/dev/null 2>&1

Oleg Broytmann phd at mail2.phd.pp.ru
Wed Mar 23 16:59:46 CET 2005

On Wed, Mar 23, 2005 at 11:59:24AM -0300, Rodrigo Dias Arruda Senra wrote:
> Has this same issue been dealt in another stdlib module ?

   rc = os.system('netscape -remote "openURL(%s)" &' % url)
   if rc: os.system('netscape "%s" &' % url)

PS. This, of course, should must be fixed - pydoc must use webbrowser.py!

     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

More information about the Python-Dev mailing list