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/2000-July/005605.html below:

[Python-Dev] urllib.browse() issues

[Python-Dev] urllib.browse() issues [Python-Dev] urllib.browse() issuesM.-A. Lemburg mal@lemburg.com
Thu, 06 Jul 2000 19:37:31 +0200
"Fred L. Drake, Jr." wrote:
> 
> M.-A. Lemburg writes:
>  > Might be a good candidate for the std lib if you ask me --
>  > after a rename to say "browser.py".
> 
>   Agh!  That was my original name for it!  Guido wanted me to change
> it since that didn't describe it well (there's not a single browser
> implementation in there ;).

Um, there's not a single OS implementation in os.py either ;-)

I think it describes things well enough if you write

browser.open('http://www.python.org/')

Perhaps the interface should be a bit more RPC like, though...
something like:

b = browser.connect()
b.open(http://www.python.org/')
b.close()

>   browsercntl seems... ugly.  I'd welcome suggestions for short,
> lower-case names, though.

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/



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