Hi!<br><br>I'm trying to run python from within Emacs. This is in my .emacs file :<br><br>(setq auto-mode-alist ; trigger python mode automatically<br>       (cons '("\\.py$" . python-mode) auto-mode-alist))<br>
(setq interpreter-mode-alist<br>       (cons '("python" . python-mode)<br>        interpreter-mode-alist))<br>(autoload 'python-mode "python-mode" "Python editing mode." t)<br><br>, but I got this message :<br>
<br>"Searching for program: no such file or directory, python"<br><br>So I've added the following line :<br><br>(setq py-python-command '("C:/Program Files/Python"))<br><br>This is the path where my 'python.exe' is located. But then this message occurs:<br>
<br>Using the CPython shell<br>let: Wrong type argument: integerp, "C:/Program Files/Python"<br><br>Could anyone tell me how to solve this? Thanks a lot in advance!<br><br>Mark<br>