"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/
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