Python Prompt in DOS Window
Tim Roberts
timr at probo.com
Thu Aug 22 00:58:34 EDT 2002
Peter Hansen <peter at engcorp.com> wrote:
>Tim Roberts wrote:
>>
>> "Ali K" <akakakhel at attbi.com> wrote:
>> >
>> >I would like to know how to write a script in the DOS window that opens up
>> >when you click on python.exe?
>>
>> After you have typed a line into the interactive shell, it is gone. You
>> can't save them to a file.
>
>Although in the context of the original question, this is quite true, ...
And, actually my first statement isn't quite true. On the NT-based
systems, all programs that read from stdin using normal means automatically
inherit DOSKEY support. That is, I can use the cursor keys to scroll
through my past history, edit the lines, and resubmit them.
However, that still provides no method to save them to a file.
--
- Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list