inline output python code example
Example: print progress without next line python
def f():
print('xy', end='')
print('\rzz')
f()
>> zz // \r make cursor reset to the start of the line and over-write any text after that
def f():
print('xy', end='')
print('\rzz')
f()
>> zz // \r make cursor reset to the start of the line and over-write any text after that