I know I can use either print \b
to replace a single character or sys.stdout.write(\rSomething)
to replace an entire line of text (like in this example), but is there a way replace the top line in the console window using Python while letting text continue to print below?
For example:
[---- ] <-- a progress bar that updates at the top...
Ongoing info <-- while other stuff prints down below
foo
More ongoing info