title: Jupyter Notebook error message that IOPub data rate exceeded
body: <p>I get the following error message when I try to import a .txt file with the following code, </p>
  
  <pre><code>with open("cobuy.txt", "r+") as my_file:
      for item in my_file:
          my_file.write("%s\n" % item)
  
  text = open("obuy.txt").read()
  
  text
  </code></pre>
  
  <p>:</p>
  
  <pre><code>IOPub data rate exceeded.
  The notebook server will temporarily stop sending output
  to the client in order to avoid crashing it.
  To change this limit, set the config variable
  `--NotebookApp.iopub_data_rate_limit`.
  </code></pre>
  
  <p>From googling around, it seems there is a problem with Jupyter Notebook version 5.0. It shows that you can put the following code in the terminal to resolve that: jupyter notebook --NotebookApp.iopub_data_rate_limit=10000000000, I can't seem to get this to work: <a href="https://github.com/jupyter/notebook/issues/2287" rel="nofollow noreferrer">https://github.com/jupyter/notebook/issues/2287</a></p>
  
  <p>Are there any other solutions to this?</p>