Re: Getting started with IDLE and Python - no highlighting and no execution

2012-08-09 Thread soloflyr
On Sunday, August 5, 2012 7:46:54 PM UTC-4, PeterSo wrote: > I am just starting to learn Python, and I like to use the editor > > instead of the interactive shell. So I wrote the following little > > program in IDLE > > > > # calculating the mean > > > > data1=[49, 66, 24, 98, 37, 64, 98, 2

Re: Getting started with IDLE and Python - no highlighting and no execution

2012-08-05 Thread PeterSo
On Aug 5, 7:09 pm, Rotwang wrote: > On 06/08/2012 00:46, PeterSo wrote: > > > > > > > > > > > I am just starting to learn Python, and I like to use the editor > > instead of the interactive shell. So I wrote the following little > > program in IDLE > > > # calculating the mean > > > data1=[49, 66,

Re: Getting started with IDLE and Python - no highlighting and no execution

2012-08-05 Thread Terry Reedy
On 8/5/2012 7:46 PM, PeterSo wrote: I am just starting to learn Python, and I like to use the editor instead of the interactive shell. So I wrote the following little program in IDLE # calculating the mean data1=[49, 66, 24, 98, 37, 64, 98, 27, 56, 93, 68, 78, 22, 25, 11] def mean(data):

Re: Getting started with IDLE and Python - no highlighting and no execution

2012-08-05 Thread Rotwang
On 06/08/2012 02:01, Matthew Barnett wrote: On 06/08/2012 01:58, MRAB wrote: On 06/08/2012 01:09, Rotwang wrote: On 06/08/2012 00:46, PeterSo wrote: I am just starting to learn Python, and I like to use the editor instead of the interactive shell. So I wrote the following little program in IDL

Re: Getting started with IDLE and Python - no highlighting and no execution

2012-08-05 Thread Matthew Barnett
On 06/08/2012 01:58, MRAB wrote: On 06/08/2012 01:09, Rotwang wrote: On 06/08/2012 00:46, PeterSo wrote: I am just starting to learn Python, and I like to use the editor instead of the interactive shell. So I wrote the following little program in IDLE # calculating the mean data1=[49, 66, 24,

Re: Getting started with IDLE and Python - no highlighting and no execution

2012-08-05 Thread MRAB
On 06/08/2012 01:09, Rotwang wrote: On 06/08/2012 00:46, PeterSo wrote: I am just starting to learn Python, and I like to use the editor instead of the interactive shell. So I wrote the following little program in IDLE # calculating the mean data1=[49, 66, 24, 98, 37, 64, 98, 27, 56, 93, 68, 7

Re: Getting started with IDLE and Python - no highlighting and no execution

2012-08-05 Thread Mark Lawrence
On 06/08/2012 00:46, PeterSo wrote: I am just starting to learn Python, and I like to use the editor instead of the interactive shell. So I wrote the following little program in IDLE [snip] I can't comment on IDLE as I've never used it, but you're doing yourself a big disservice if you don't

Re: Getting started with IDLE and Python - no highlighting and no execution

2012-08-05 Thread Rotwang
On 06/08/2012 00:46, PeterSo wrote: I am just starting to learn Python, and I like to use the editor instead of the interactive shell. So I wrote the following little program in IDLE # calculating the mean data1=[49, 66, 24, 98, 37, 64, 98, 27, 56, 93, 68, 78, 22, 25, 11] def mean(data):

Getting started with IDLE and Python - no highlighting and no execution

2012-08-05 Thread PeterSo
I am just starting to learn Python, and I like to use the editor instead of the interactive shell. So I wrote the following little program in IDLE # calculating the mean data1=[49, 66, 24, 98, 37, 64, 98, 27, 56, 93, 68, 78, 22, 25, 11] def mean(data): return sum(data)/len(data) mean(da