# chk_btn_var.set(0) # Setting the initial checkbutton state chk_btn_1_var = tk.IntVar() # Creating a variable to store the checkbutton state chk_btn_1 = ttk.Checkbutton(window, text="Option 1", ...