Re: Newbie Question - Checkboxes

2006-12-14 Thread Leanne
John Machin wrote: >> I'd try this: > > if isinstance(returned_value, basestring): > returned_value = [returned_value] > for item in returned_value: > do_something_with(item) > > HTH, > John This sounds like a neat way of doing it, thanks! -- http://mail.python.org/mailman/listinfo/pyt

Re: Newbie Question - Checkboxes

2006-12-10 Thread John Machin
Leanne wrote: > I have been using Python for only a few months part-time and have > recently had my first encounter with retrieving user input from > checkboxes. I have a problem with the way Python reads the input > values from a set of checkboxes on a webpage. > > The values assigned to the che