The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.python
From: Terry Reedy <tjre...@udel.edu>
Date: Sun, 05 Aug 2012 21:32:36 -0400
Local: Sun, Aug 5 2012 9:32 pm
Subject: Re: Getting started with IDLE and Python - no highlighting and no execution
On 8/5/2012 7:46 PM, PeterSo wrote:
> I am just starting to learn Python, and I like to use the editor
If properly installed and working, IDLE does syntax highliting if and > 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):
> mean(data1)
> There is no syntax highlighting
only if you name the file with a .py, .pyw, .pyo extension. I have a 'play around' directory with a tem.py file that is always in the recent files lists. I use it for short shippets that are two long to directly type into the shell. -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||