title: How do you disable print log of an external library's function?
body: <h2>Problem</h2>
  
  <p>I'm importing <code>nltk</code> and downloading data for it:</p>
  
  <pre><code>import nltk
  nltk.download('averaged_perceptron_tagger')
  </code></pre>
  
  <p>The problem is, every time I run the program, <code>nltk.download</code> displays the log in the console:</p>
  
  <pre><code>[nltk_data] Downloading package averaged_perceptron_tagger to
  [nltk_data]     C:\Users\f\AppData\Roaming\nltk_data...
  [nltk_data]   Package averaged_perceptron_tagger is already up-to-
  [nltk_data]       date!
  </code></pre>
  
  <h2>Question</h2>
  
  <p>Is there a way to prevent it? It's a console program and I'd like it to show only the stuff I want it to.</p>