Both Python 2 and 3 in Emacs

后端 未结 5 998
不知归路
不知归路 2020-12-14 02:56

I have been using Emacs to write Python 2 code. Now I have both Python 2.6 and 3.0 installed on my system, and I need to write Python 3 code as well.

Here is how the

5条回答
  •  遥遥无期
    2020-12-14 03:37

    With current python-mode.el shebang is honored.

    Interactively open a Python shell just with

    M-x pythonVERSION    
    M-x python
    

    will call the installed default.

    http://launchpad.net/python-mode

提交回复
热议问题