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

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

Re: how to load file into interpreter(python)?


From: Thierry Volpiatto
Subject: Re: how to load file into interpreter(python)?
Date: Tue, 16 Sep 2008 00:01:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

cnb <address@hidden> 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




reply via email to

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