[Tutor] Fwd: Saving command line keyed input?
A quick tip for the Windows command line. Ctrl-C, Ctrl-A etc don't work, neither does right-clicking (menu-click). However, right-clicking does work on the blue title bar. Right-click on the blue title bar and then go down to Edit and then you can Select All. Then right-click on the blue title bar again and go down to Edit and then Copy. If at any point you right click in the black part of the window or do a Ctrl key sequence, it deselects all your text. Very unintuitive, as it is completely different to every other Windows app. (I think they do it on purpose to stop people wanting to use the Command Line). Ed On 19/10/05, CPIM Ronin [EMAIL PROTECTED] 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? For example: class work_center: def __init__(self,x_name): self.name = x_name x = work_center(machine press) --- What do I do to save the above work into a file named mywork.py Thanks. RC _ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Fwd: Saving command line keyed input?
Ed Singleton wrote: A quick tip for the Windows command line. Ctrl-C, Ctrl-A etc don't work, neither does right-clicking (menu-click). However, right-clicking does work on the blue title bar. Right-click on the blue title bar and then go down to Edit and then you can Select All. Then right-click on the blue title bar again and go down to Edit and then Copy. If you turn on Quick Edit (from Properties in the right-click menu) then you can select text and right-click to copy, then right-click again to paste. Kent ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Fwd: Saving command line keyed input?
On 10/21/05, Kent Johnson [EMAIL PROTECTED] wrote: Ed Singleton wrote: A quick tip for the Windows command line. Ctrl-C, Ctrl-A etc don't work, neither does right-clicking (menu-click). However, right-clicking does work on the blue title bar. If you turn on Quick Edit (from Properties in the right-click menu) then you can select text and right-click to copy, then right-click again to paste. so yes, ed and kent are right. you have to do those things if you're running Python from the DOS window. Ctrl-A, Ctrl-C, Ctrl-V work from the IDLE window and most non-DOS win32 windows.. -- wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Core Python Programming, Prentice Hall, (c)2006,2001 http://corepython.com wesley.j.chun :: wescpy-at-gmail.com cyberweb.consulting : silicon valley, ca http://cyberwebconsulting.com ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor