[Python-Dev] urllib.browse() issues

M.-A. Lemburg mal@lemburg.com
Thu, 06 Jul 2000 20:58:45 +0200


"Fred L. Drake, Jr." wrote:
> 
> M.-A. Lemburg writes:
>  > Um, there's not a single OS implementation in os.py either ;-)
> 
>   Good point; we should fix that.  ;)
> 
>  > 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()
> 
>   How about:
> 
> b = browser.get()
> b.open("http://www.python.org/")
> 
>   That has the advantage of working with the existing code.  ;)

Ok, fine with me.

+1 for adding it to the standard lib from me.

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