Re: need help with a multiloop error

2009-04-23 Thread MRAB
John Machin wrote: On Apr 23, 10:54 am, delc...@gmail.com wrote: Here is a little more of the code? Does this help at all? Not much. MRAB asked what is str2bool. Instead of answering the question, you have supplied some code which is calling str2bool (and doing interesting things if it fails)

Re: need help with a multiloop error

2009-04-22 Thread John Machin
On Apr 23, 10:54 am, delc...@gmail.com wrote: > Here is a little more of the code?  Does this help at all? Not much. MRAB asked what is str2bool. Instead of answering the question, you have supplied some code which is calling str2bool (and doing interesting things if it fails). You talk about a "

Re: need help with a multiloop error

2009-04-22 Thread delco27
Here is a little more of the code? Does this help at all? try: b = str2bool(s) return b except ValueError, e: # s is not a boolean value, try eval(s): try: b = eval(s, globals, locals) return b except Exception, e: if

Re: need help with a multiloop error

2009-04-22 Thread Jeremiah Dodds
On Wed, Apr 22, 2009 at 3:07 PM, Brian wrote: > I'm trying to run a python program with a multiloop and I am getting > this error message. I was wondering if anyone could tell from this > message what I'm doing wrong or where I've made a mistake. Let me > know if you need some of the code for t

Re: need help with a multiloop error

2009-04-22 Thread MRAB
Brian wrote: I'm trying to run a python program with a multiloop and I am getting this error message. I was wondering if anyone could tell from this message what I'm doing wrong or where I've made a mistake. Let me know if you need some of the code for this to make more sense. Thanks a lot.

need help with a multiloop error

2009-04-22 Thread Brian
I'm trying to run a python program with a multiloop and I am getting this error message. I was wondering if anyone could tell from this message what I'm doing wrong or where I've made a mistake. Let me know if you need some of the code for this to make more sense. Thanks a lot. How much labor