First Timer

Chris Rebert clp2 at rebertia.com
Tue May 11 16:03:41 EDT 2010


On Tue, May 11, 2010 at 12:28 PM, Donna Lane <bookexplorer at msisinc.com> wrote:
> I have downloaded Python and I'm a beginner in every sense.  What I want to
> know now is when I am in Idle and have made a syntax error how do I repair?
> After the error I can't type in
>
> anything and I get this bing noise.  Usually I just start idle over again.

You re-type or copy-paste and then fix the line(s) after the new >>>
prompt that appears after the SyntaxError message. You can't edit
lines you've already run.

Also, you can compose an entire file of code and then run the file,
rather than working directly at the interactive interpreter (aka
shell). File->New Window makes an empty file you can work in; pressing
F5 in the file editor window will run the file.

Cheers,
Chris
--
http://blog.rebertia.com



More information about the Python-list mailing list