A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-January/012046.html below:

[Python-Dev] webbrowser.py

[Python-Dev] webbrowser.py [Python-Dev] webbrowser.pyKa-Ping Yee ping@lfw.org
Mon, 22 Jan 2001 20:14:50 -0800 (PST)
On Mon, 22 Jan 2001, Ka-Ping Yee wrote:
> In trying to do the latter i've found the webbrowser module pretty
> unreliable, by the way.  For example, it relies on a constant delay
> of 4 seconds to launch a new browser that can't be expected on all
> platforms, and fails to launch Netscape 3 because it supplies an
> illegal command-line option.  When i've found good cross-platform
> ways to make this work i'll suggest some patches.

Oh, and i forgot to mention... i was pretty disappointed that:

    setenv BROWSER my_browser_program
    python -c 'import webbrowser; webbrowser.open("http://python.org/")'

doesn't execute "my_browser_program http://python.org/" as i would
have hoped.  Even for a known browser type:

    setenv BROWSER lynx
    python -c 'import webbrowser; webbrowser.open("http://python.org/")'

does not work as expected, either.  (Red Hat Linux here.)


-- ?!ng




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4