title: Silence loggers and printing to screen - Python
body: <p>I'm having a problem with my python script.</p>
  
  <p>It's printing massive amounts of data on the screen, and I would like to prevent all sorts of printing to screen.</p>
  
  <hr>
  
  <p><strong>Edit:</strong></p>
  
  <p>The library I'm using is <strong>mechanize</strong>, and it's printing a LOT of data on screen.</p>
  
  <p>I have set these to false with no luck!</p>
  
  <pre><code>br.set_debug_redirects(False)
  br.set_debug_responses(False)
  br.set_debug_http(False)
  </code></pre>
  
  <hr>
  
  <p>Any ideas? </p>
  
  <p>Help would be amazing and very much appreciated!</p>