Search on blog:

Tkitner: Jak wyświetlać Progressbar z inną prędkością

If Progressbar in 'indeterminate' mode run too fast or too slow then you can use after(milliseconds, function_name) to run periodically own function which will use step() to change value in ProgressBar.

If you use different milliseconds or different value in step() then it will move with different speed.

import tkinter as tk
from tkinter import ttk

def change():
    root.after(100, change) # run again after 100ms,

root = tk.Tk()

p = ttk.Progressbar(root, mode='indeterminate')

change() # run first time 

If you like it
Buy a Coffee