[Tutor] Saving command line keyed input?

bob bgailer at alum.rpi.edu
Wed Oct 19 23:24:36 CEST 2005


At 02:12 PM 10/19/2005, CPIM Ronin wrote:
>I know that one should use IDLE or a choosen editor for any substantial
>Python coding! However, if one  happens to have written some interesting
>doodlings on the regular command line interface (under Windows XP in my
>case), is there an easy way to save ALL input to date into a selected file?

The way I do it is: select the text by dragging with the mouse (a 
recangle), then hit Enter. This puts it on the clipboard. Then go to where 
you want it and paste. As I did here:

Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
 >>> "hi"
'hi'
 >>>




More information about the Tutor mailing list