How do I run a python interpreter in Emacs?

后端 未结 8 726
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-01 15:59

I just downloaded GNU emacs23.4, and I already have python3.2 installed in Windows7.

I have been using Python IDLE to edit python files.

The problem is that I ca

8条回答
  •  自闭症患者
    2021-02-01 16:31

    In emacs 25.3.1 I use this to open up a python shell:

    M-x run-python
    

    After first adding this to my .emacs file:

    (setq python-shell-interpreter "/usr/local/bin/python3")
    

提交回复
热议问题