Terry Reedy tjreedy at
Tue Mar 14 20:21:00 CET 2000

> "williman" <williman at> wrote in message
> news: at
> > I'm would like to program with Python, but I don't know, how can I save
> > and put the name to a program that I've done?
[posted and emailed]
In private email, williman clarified question in part as: how do I save
code entered at interactive prompt.

Answer 1. you can't, at least on standard system (but I have seen fancy
ways to log such input in past postings).
Answer 2, at least for Windows: cut input (and desired output) and paste
into, for instance, Notepad window.
Answer 3. Don't use >>> prompt for stuff you want to save.  Use input
window in IDLE or PythonWin or use an editor.  I have used Notepad to good
effect, as described in past post that should be on DejaNews and will try
IDLE soon.

Terry J. Reedy

More information about the Python-list mailing list