Re: [Tutor] tk Radiobutton example

2016-02-15 Thread Alan Gauld
On 14/02/16 23:42, paul.hermeneu...@gmail.com wrote: > 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], v

Re: [Tutor] tk Radiobutton example

2016-02-15 Thread Peter Otten
paul.hermeneu...@gmail.com wrote: > +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

[Tutor] tk Radiobutton example

2016-02-15 Thread paul . hermeneutic
+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