title: Python's mechanize proxy support
body: <p>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.</p>
  
  <p>For example, if I have:</p>
  
  <pre><code>params = urllib.urlencode({'id':id, 'passwd':pw})
  rq = mechanize.Request('http://www.example.com', params) 
  rs = mechanize.urlopen(rq)
  </code></pre>
  
  <p>How can I add proxy support into my mechanize script?
  Whenever I open this <code>www.example.com</code> website, i would like it to go through the proxy.</p>