Re: [Tutor] Code query..works in IDLE but not DrPython editor

2007-07-10 Thread Alan Gauld
"Tony Noyeaux" <[EMAIL PROTECTED]> wrote > import randomprint random.choice(['Apple', 'Pear', 'Shrimp', > 'Death', 'Life']) Your formatting is a little strange as seen above but... > Works in IDLE gui, no problem. Do you mean the interactive shell in IDLE? Or are you actually comparing like fo

Re: [Tutor] Code query..works in IDLE but not DrPython editor

2007-07-10 Thread Dave Kuhlman
On Tue, Jul 10, 2007 at 01:37:34PM -0400, Tony Noyeaux wrote: > > Simple Random code. > > > import randomprint random.choice(['Apple', 'Pear', 'Shrimp', 'Death', 'Life']) > > > Works in IDLE gui, no problem. Gives me a random pick no problem. > > When i changed to DrPython, to continue b

[Tutor] Code query..works in IDLE but not DrPython editor

2007-07-10 Thread Tony Noyeaux
Simple Random code. import randomprint random.choice(['Apple', 'Pear', 'Shrimp', 'Death', 'Life']) Works in IDLE gui, no problem. Gives me a random pick no problem. When i changed to DrPython, to continue building parts of my code.. it won't take that code. Gives me this error. C:/P