\r
moves the cursor at the beginning of the line:
for i in 1:10
sleep(0.1)
print("\rIteration: $(i)/10")
end
If you want nice progressbars, you can look at GitHub - timholy/ProgressMeter.jl: Progress meter for long-running computations
\r
moves the cursor at the beginning of the line:
for i in 1:10
sleep(0.1)
print("\rIteration: $(i)/10")
end
If you want nice progressbars, you can look at GitHub - timholy/ProgressMeter.jl: Progress meter for long-running computations