Hello and thank you in advance for your help, In fact I have a progress bar with various options that I would have liked to see refreshed instead of spending my time clearing the console.
while True :
#system("cls")
sys.stdout.write("\rSearching for {} --- [Currently {} found] \nLoading [".format(entry, count_result) + "="*int(100 * count / nb_files) + " "*(100-int(100 * count / nb_files)) + "] {}%".format(int(round(float(int(100 * count / nb_files))))) + "\n")
sys.stdout.flush()
sleep(0.5)
if int(100 * count / nb_files) == 100 :
sleep(1)
system("cls")
break
So I would have liked to know if there was a way, I looked everywhere to try to understand but I do not understand how I could do it in my case. thanks in advance