[Python-Dev] urllib.browse() issues

Fred L. Drake, Jr. fdrake@beopen.com
Thu, 6 Jul 2000 13:58:00 -0400 (EDT)


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.  ;)


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at beopen.com>
BeOpen PythonLabs Team Member