title: Download all nltk packages in google colaboratory at once
body: <p>I want to use stopwords in my code on google colab, there are no errors when I import stuff regarding nltk but when I use stopwords in my code google colab gives this error:-</p>
  
  <pre><code>Resource 'corpora/stopwords.zip/stopwords/' not found.  Please
  use the NLTK Downloader to obtain the resource:  &gt;&gt;&gt;
  nltk.download()
  </code></pre>
  
  <p>But when I do:-</p>
  
  <pre><code> import nltk
   nltk.download()
  </code></pre>
  
  <p>It gives me all the packages list so I have to select 1 to download, in terminal I could do "all" to download all packages but how an I do that in google colab? I don't want to add a name everytime to download stuff. this is what colab shows me when I do "nltk.download()":-</p>
  
  <h2>     NLTK Downloader</h2>
  
  <h2>     d) Download    l) List     u) Update    c) Config    h) Help    q) Quit</h2>
  
  <pre><code> Downloader&gt; d
  
   Download which package (l=list; x=cancel)?
  </code></pre>
  
  <p>Is there any way I can download all packages of nltk at once to my project in google colab?</p>