I want to show a progress bar while i'm running a loop but it does not update the window till the loop is done

Either way, you need to have your script run asynchronously from the foreground.

1 Like