I have a question about python mechanize's proxy support. I'm making some web client script, and I would like to insert proxy support function into my script.
For example, if I have:
params = urllib.urlencode({'id':id, 'passwd':pw})
rq = mechanize.Request('http://www.example.com', params)
rs = mechanize.urlopen(rq)
How can I add proxy support into my mechanize script?
Whenever I open this www.example.com website, i would like it to go through the proxy.