how to cut and paste in the windows of python(command line)

Fredrik Lundh fredrik at
Thu Jul 24 13:48:39 CEST 2008

fang wrote:
>       The mouse cannot be responded in the windows of python(command
> line) and cut and paste cannot be done. ctrl c and ctrl v do not work.
> But they do work in IDLE.

that has absolutely nothing to do with Python, and everything to do with 
what console or terminal program you're using.

if you're using windows, you'll find edit commands, including copy and 
paste, commands in the window menu (click on the icon in the upper left 
corner).  Python also supports the standard "doskey" commands (text+F8 
to search in history, UP/DOWN to recall commands, ESC to clear, etc).

if you want better console support, consider installing the "ipython"


More information about the Python-list mailing list