| Re: how to load file into interpreter(python)? |
|
 |
|
 |
|
 |
|
 |
Group: gnu.emacs.help · Group Profile
Author: Thierry VolpiattoThierry Volpiatto Date: Sep 15, 2008 15:01
cnb writes:
> Python-mode worked right out out of the box in Emacs and then I added
> Python to my path so now the interpreter works as well.
What do you use ?
python-mode.el or python.el .
> However when I try to load a file(that is not located in site-
> packages) it doesn't work.
>>>> Traceback (most recent call last):
>
> ImportError: No module named parsing
All the modules you load have to be:
in your PYTHONPATH
or
in current directory
> It is fairly impractical to work with if that doesn't work and cut and
> pasting doesn't work(not that it is a good alternative in the first
> place) because of Python being intendation-sensitive.
>
> Can I add something to my .emacs-file to solve this?
>
What is your actual config of python ?
--
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France
|