I have written a small code to open, read, close and print a txt file, I run it using Jupyter notebook, but the file is not printed and I got an message saying that IOpub data rate exceeded.
I have generated default config file, and increased the value from 1000000 to 10000000 but there is no change in execution printout.
Below the code and the message, do you know for which reason and what can I do to overcome this issue?
import os # open Output_log.txt for reading text myfile = open("E:\\science\\Projet situation\\Output_log.txt", "rt") # read the entire file into a string contents = myfile.read() # close the file myfile.close() # print contents print(contents) ste code here
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