Trying to figure out how to stylistically print "Done." at the end of the window.
I am printing dynamically using flush. A snippet of code would be:
print("Opening the file "),
sys.stdout.flush()
for i in range(3):
print("."),
sys.stdout.flush()
print("\tDone.")
Except I would like "Done." to be printed all the way at the end of the line no matter how big the window is.
This finds the length of the console window, then makes a string of spaces, with
Done.
at the end.