Please use tags when posting code.
This works for me.
move the
This works for me.
move the
.place to radio_1.place() and radio_2.place()
import tkinter as tk root = tk.Tk() var = tk.IntVar() r1 = tk.Radiobutton(root, text='Option 1', variable=var, value=1) r1.pack(anchor='w') r2 = tk.Radiobutton(root, text='Option 2', variable=var, value=2) r2.pack(anchor='w') r2.invoke() r3 = tk.Radiobutton(root, text='Option 3', variable=var, value=3) r3.pack(anchor='w') root.mainloop()
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags