question

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


> "williman" <williman at adinet.com.uy> wrote in message
> news:3.0.5.32.20000312094616.007a1560 at adinet.com.uy...
> > 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