When I write a script that updates the printed line, for example, for example:
for i in range(101):
print(str(i) + "% \r", end="")
and run this script using terminal (Ubuntu), I get the correct output, which updated the line:
100%
However, using Pydev in Eclipse, the Eclipse console does this:
0%
1%
2%
...
100%
Does anyone know how to fix this? Thanks in advance!
Zymox source
share