Doing a small project thats get executed from the Script Console.
I’m looking on doing a loading bar or something like tha, different that simply printing the percentage.
I tried to clear the console and reprinting the bar but appears that clearing the console is not possible. Like this:

This is truly not necessary for my project but I always like to doing different things.
Anyone has any idea? As I said, is not necessary, so feel free to give any idea you have!
1 Like
The script console is text only and, as far as I know, has no cursor position control on the output. If that is correct, then every print action will start on a new line.
If that is true the best I can do is this:
6 Likes
Correct, neither the script console nor the output console are anything like a true TTY, so line by line output is the best you can do.
1 Like
Just for the record, I ended doing this:
print(u"Loading input workbook ⏳."),
load_workbook(in_path)
print(u"Done!")
print(u"Loading output workbook ⏳."),
load_workbook(out_path)
print(u"Done!")