I'm trying to make a progress bar or something like that. It doesn't work actually. My script (python):
Code:
import os
os.system("clear")
x =1
while x<20:
print "\033[5;",x,"H=>"
x = x+1
The result:
Code:
[5; 1 H=>
[5; 2 H=>
[5; 3 H=>
[5; 4 H=>
[5; 5 H=>
[5; 6 H=>
[5; 7 H=>
[5; 8 H=>
[5; 9 H=>
[5; 10 H=>
[5; 11 H=>
[5; 12 H=>
[5; 13 H=>
[5; 14 H=>
[5; 15 H=>
[5; 16 H=>
[5; 17 H=>
[5; 18 H=>
[5; 19 H=>
How can i fix this?