Hello All!
I’m using nbconvert.ExecutePreprocessor
in order to execute an ipynb file.
In that execution - I’d like the outputs written/printed to the stdout in real time.
So, for example - If the first cell of the notebooks goes like this:
from time import sleep
print("hello world - please print me immediately")
sleep(10)
1/0
The desired behavior - print imeediatly, wait 10 seconds & finally crash.
The actual behavior - nothing is printed for 10 seconds & then all output of cell is displayed while crash.
My question - How can I change the actual behavior into the desired behavior?