How do I run a python interpreter in Emacs?

后端 未结 8 669
佛祖请我去吃肉
佛祖请我去吃肉 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:33

    Place this in your .emacs to let emacs know where is your python interpretor

     (setq python-shell-interpreter "path\to\your\python3.2")
    

    To learn about.emacs you can read about it in Emacs itself.(Emacs comes with good info manuals and info mode to help to read that manual).

    press the following in emacs

    M-: (info "(Emacs)Init file") RET.

提交回复
热议问题