Jupyter notebook: show output “in real time” instead of once cell finishes running

for i in 1:10
    @show i
    sleep(1)
    flush(stdout)
end
2 Likes