title: Python: how to dump cookies of a mechanize.Browser instance?
body: <p>I am learning how to use <a href="http://wwwsearch.sourceforge.net/mechanize/" rel="nofollow noreferrer">mechanize</a>, a Python module to automate interacting with websites.</p>
  
  <p>One feature is the automated handling of cookies. I would to want to dump cookies from a <code>mechanize.Browser</code> instance for debugging purposes, but I can't seem to figure this out myself.</p>