Hi,
The following code creates a list of checkboxes (each associated with
different variables) for the user to select from, after having selected the
ones that user wants, I am trying to add the selected variables to another
list so that the selected variables can be accessed later in the code.
Ho
On 27/02/17 03:06, Pooja Bhalode wrote:
> The following code creates a list of checkboxes
It would really help uif you posted in plain text.
The HTML/RTF is getting very hard to read with
no indentation.
> ones that user wants, I am trying to add the selected variables to another
> list so that t
On 27/02/17 03:06, Pooja Bhalode wrote:
> for i in range(len(checkboxVars)):
> if checkboxVars[i].get() == 1:
>print checkboxVars[i]
>selectedparam.append(checkboxVars[i])
As a point of Pythonic style this would be better
written (and easier to read) as
for var in checkboxVar