Can I output Python 2.5 to ctrl-D on Windows instead of ctrl-Z?

I use python to complete the interactive interpreter using Ctrl-d using Linux and OS X. However, on windows you need to use CTRL+ Zand then type. Is there a way to use CTRL+ D?

+5
source share
4 answers

Ctrl-d works to exit IPython
( the python (x, y) package is installed ).

  • OS: WinXP
  • Python Version: 2.5.4

: OP, , Ctrl-d Windows PyReadline package: " pyreadline - GNU readline python, UNC readline Ctypes, . 2000 windows xp."


* nix, , IPython * nix- - Cygwin...

  • bash - .
  • / \,
  • %
  • %
  • % . .
  • cd -. ( ). .
  • % env (. )
  • -% hist % rep (. )
  • % mglob
  • $python_variables
  • var =! ls -la ( )
+4

CTRL + D .

CTRL + Z - Windows char, EOF. * nix CTRL + D. .

, , exit(), -.

+6

, Idle.

  • "" β†’ " IDLE..." "".

  •    IDLE Classic Unix.

0

Cygwin Python, ... , pywin32.

0

All Articles