Re: the return of urllib.request.urlopen("http://www.example.com/", params)

2009-03-31 Thread tunpishuang
On Apr 1, 12:49 pm, Steven D'Aprano wrote: > On Tue, 31 Mar 2009 21:17:29 -0700, tunpishuang wrote: > > hey guys , i'm new in python ...here i got a little problem that get me > > confused... > > i wanna do an uthentication of an login page , here is the exam

the return of urllib.request.urlopen("http://www.example.com/", params)

2009-03-31 Thread tunpishuang
hey guys , i'm new in python ...here i got a little problem that get me confused... i wanna do an uthentication of an login page , here is the example from the python lib ref. : >>> import urllib.request >>> import urllib.parse >>> params = urllib.parse.urlencode({'spam': 1, 'eggs': 2, 'bacon': 0}