Copy & Paste in a Dos box

Dave Angel davea at
Wed May 6 20:56:30 EDT 2009

Mensanator wrote:
> On May 6, 6:15 pm, MRAB <goo... at> wrote:
>> Mensanator wrote:
>>> On May 6, 3:46 pm, Dave Angel <da... at> wrote:
>>>> Mensanator wrote:
>>>>> <snip>
>>>>> And when prompted, do "(.) modify shortcut that started this window"
>>>>> After which, you can dispense with the menus (except when pasting),
>>>>> just select the text and hit <enter>.
>>>> To paste into a DOS box, once Quick Edit is enabled, use Right-Click.  
>>>> They keystrokes will be sent to the command editor.  Note that the
>>>> interpretation is rather literal, so be careful if copy/pasting more
>>>> than one line, or a line that was wrapped.
>>> Well I'll be dipped. Didn't know you could do that.
>>> Of course, since I learned how to call programs from the
>>> script and capture their StdOut, I don't have much call for
>>> cut/paste from dos windows. Hopefully, I'll remember that the
>>> next time I need it.
>> That's new to me too!
>> You probably already know that if you drag-and-drop a file onto the
>> window you get its path.
> Damn! I may just go back to using Python from the command prompt
> instead of using IDLE.
> On second thought, IDLE is way too useful for indenting, dedenting,
> commenting and uncommenting blocks of code. Can't go back to using
> Notepad.
When I started with Python, I was using Metapad for editing.  Although 
it doesn't help with commenting-blocks, it's much better than Notepad 
for all purposes I used.

Then I discovered Komodo.  Although not cheap, it's a great IDE for my 
uses.  And there's a free version called Komodo-Edit, which is missing 
the debugger but otherwise may be quite useful.

More information about the Python-list mailing list