Re: [Tutor] simple array access

2009-01-07 Thread Edwin Boyette
--- On Wed, 1/7/09, Artie Ziff wrote: From: Artie Ziff Subject: [Tutor] simple array access To: Tutor@python.org Date: Wednesday, January 7, 2009, 9:12 PM Hello, I used python list comprehension to create a grid (list of lists) of Objects (instances of MyItem class). Can anyone make recomm

Re: [Tutor] Interactive programming.

2009-01-07 Thread Edwin Boyette
Don't try to make interactive programming something its not. It's handy if you have something short to try out, want to evaluate a function at some value etc.  Don't rage at the hammer for not being an allen wrench get an allen wrench. --- On Wed, 1/7/09, Kent Johnson wrote: From: Kent

Re: [Tutor] Interactive programming.

2009-01-07 Thread Edwin Boyette
--- On Wed, 1/7/09, WM. wrote: From: WM. Subject: Re: [Tutor] Interactive programming. To: "A.T.Hofkamp" Cc: tutor@python.org Date: Wednesday, January 7, 2009, 11:46 AM IDLE 2.6 >>> i = 1 >>> j = 11 >>> if  j > 1:     print j     else:         SyntaxError: invalid syntax >>> I am getting