How to make the slider of a Tkinter Scale widget start in certain place? [duplicate] How to make the slider of a Tkinter Scale widget start in certain place? [duplicate] tkinter tkinter

How to make the slider of a Tkinter Scale widget start in certain place? [duplicate]


You can use the tkinter.Scale.set method to set the scale to whatever value.

Below is a simple script to demonstrate:

from tkinter import Tk, Scaleroot = Tk()w = Scale(root, from_=0, to=200)w.pack()w.set(100)  # Set the initial value to 100root.mainloop()

Example:

enter image description here