【发布时间】:2010-10-03 00:39:20
【问题描述】:
我正在尝试让 python 在 emacs 的命令 shell 中运行。我已经尝试过 Windows emacs 附带的标准 M-x shell,然后键入“python”,但 python 只是挂断了(没有输出)。我还尝试从 cygwin 运行其他程序 shell,例如 bash.exe,结果相同。有什么办法可以得到一个可以运行其他程序(如 python)的 shell?
【问题讨论】:
我正在尝试让 python 在 emacs 的命令 shell 中运行。我已经尝试过 Windows emacs 附带的标准 M-x shell,然后键入“python”,但 python 只是挂断了(没有输出)。我还尝试从 cygwin 运行其他程序 shell,例如 bash.exe,结果相同。有什么办法可以得到一个可以运行其他程序(如 python)的 shell?
【问题讨论】:
为什么不使用M-x python-shell?这为 Emacs 中的 Python 提供了交互式 REPL。
【讨论】: