help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inferior Python Mode


From: Stefan Monnier
Subject: Re: Inferior Python Mode
Date: Wed, 08 Aug 2007 10:52:40 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

> (setq load-path (cons "C:\Python25" load-path))

That's almost right, except you need to double the \ because \ is used as an
escape sequence in Elisp strings.  Better yet: use / instead of \ so you
don't need to double it.  It'll work just as well:

  (setq load-path (cons "C:/Python25" load-path))

Now, of course this will only work if the "python" executable is
at C:/Python25/python.exe (rather than elsewhere such as in a subdirectory).


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]