+I am working through "Python GUI Programming Cookbook" by Burkhard Meier.
https://www.packtpub.com/application-development/python-gui-programming-cookbook
On page 20, the variable curRad is set to a string then to a
Radiobutton. What is the purpose of setting curRad to a string?
for col in range(3): # 3
curRad = 'rad' + str(col)
curRad = tk.Radiobutton(win, text=colors[col], variable=radVar,
value=col, command=radCall)
curRad.grid(column=col, row=5, sticky=tk.W)
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor