classifier systems re-coded in Python?

Terry Reedy tjreedy at udel.edu
Tue Nov 19 10:54:08 EST 2002


"Jeremy Bowers" <newsfroups at jerf.org> wrote in message
news:pan.2002.11.19.00.12.09.986806 at jerf.org...
> import urllib
> import webbrowser
>
> def google(s):
>     webbrowser.open("http://www.google.com/search?" + \
>         urllib.urlencode({"q":s}))
>
> google('Holland learning classifier Python')

I didn't know about webbrowser (brings up default browser for system).
Above works great.  Off to library manual.  Thanks.

TJR





More information about the Python-list mailing list