Yes, I knew that copying it to my root was a kludge. But between that
and not having it work, I chose the former. (As you might be able to
tell from my posts, I tried multiple things and was frustrated.) I
tried putting quotes around "c:\program files\python24". It still
didn't work.
I chose to in
Rex Eastbourne wrote:
> Yes! Thank you so much! (For some reason, by the way, I had to copy
> python.exe to my c:/ directory,
No, you did _not_ need to copy it there. You did _not_ need to copy it
anywhere. Didn't copying an executable to your root directory [on any
operating system] strike you
Yes! Thank you so much! (For some reason, by the way, I had to copy
python.exe to my c:/ directory, since the computer could never find the
path in program files/python24. But when I did that, and used
setq-py-python-command, it worked. I now have python.exe in two
locations.)
--
http://mail.pyth
> "Rex Eastbourne" <[EMAIL PROTECTED]> (RE) wrote:
>RE> I went to My Computer | Properties | Advanced | Environment Variables
>RE> and added c:\program files\python24 to both the PYTHONPATH and Path
>RE> variables. Still no luck. I don't know whether the path I'm talking
>RE> about is the same
binding nil)
;;
;; (require 'hilit19)
;; ))
;;
;; Hilit stuff
;;
;;(cond (window-system
;; (setq hilit-mode-enable-list '(not text-mode)
;; hilit-background-mode 'light
;; hilit-inhibit-hooks nil
;; hilit-inhibit-rebinding ni
Hi,
I was refering to the Windows $PATH which you can modify in the same dialog.
To make sure it's done properly, open a console (cmd.exe) and type python
Regards,
Philippe
Rex Eastbourne wrote:
> I went to My Computer | Properties | Advanced | Environment Variables
> and added c:\program fil
I went to My Computer | Properties | Advanced | Environment Variables
and added c:\program files\python24 to both the PYTHONPATH and Path
variables. Still no luck. I don't know whether the path I'm talking
about is the same as the $PATH you referred to, or whether I'm supposed
to put python.exe exp
I do not think there is any need to tell emacs where Python is; besides
having python.exe in your Windows $PATH.
Regards,
Philippe
Rex Eastbourne wrote:
> I have the following in my .emacs:
>
> (add-to-list 'load-path "C:\Program Files\Python24")
>
> Is that enough? I didn't see anything s
I have the following in my .emacs:
(add-to-list 'load-path "C:\Program Files\Python24")
Is that enough? I didn't see anything similar to that in your .emacs
file, so I'm wondering if I'm supposed to add the path to my PATH
elsewhere.
Thanks,
Rex
--
http://mail.python.org/mailman/listinfo/pyth
Hi,
Since I'm a Linux user, I went through the following procedure:
I installed emacs 20.7.1 and Python 2.4
I installed python-mode 1.0A into site-lisp
I added c:\python24 to my path
I put this .emacs on c:\ (see further down - I'm sure you don't need half of
it)
And everyhing is working fine:
Hi Skip and Philippe. I added the path for Python to PATH, but I still
get the same message (when I try executing the current buffer, I get
the message: "The system cannot find the path specified."
Philippe, I have the above lines of code in my .emacs file.
As for my environment, I'm running Emac
Hi,
this is what I have:
(autoload 'python-mode "python-mode" "Python mode." t)
(setq auto-mode-alist (append '(("\\.\\(py\\)$" .
python-mode)) auto-mode-alist))
Plus, you can always spawn a shell then call your script (if the point is to
have access to the out
Rex> I'm interested in running a Python interpreter in Emacs. I have
Rex> Python extensions for Emacs, and my python menu lists "C-c !" as
Rex> the command to run the interpreter. Yet when I run it I get the
Rex> message "Spawning Child Process: invalid argument." What do I need
13 matches
Mail list logo