[Tutor] SAVING & RUNNING A PROGRAM:

Kent Johnson kent37 at tds.net
Fri Oct 17 13:35:39 CEST 2008


On Fri, Oct 17, 2008 at 4:09 AM, WM <WFERGUSON1 at socal.rr.com> wrote:
> I wrote this two liner.  I wanted to save it and then to bring it back as
>  program.

See http://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro/
Look for the section that starts, "Now that we've paddled long enough,
we might be asking: ok, this is neat, but if we close down Python and
start it up again, how do we get the computer to remember what we
typed?"

Don't include the >>> in your file, just include the part that you
actually typed.

Kent


More information about the Tutor mailing list