Emacs Python-mode. Newbie problem.

Lacrima Lacrima.Maxim at gmail.com
Thu Jul 9 14:22:46 EDT 2009


On Jul 9, 8:42 pm, Piet van Oostrum <p... at cs.uu.nl> wrote:
> >>>>> Lacrima <Lacrima.Ma... at gmail.com> (L) wrote:
> >L> Thank you for really useful and detailed explanation. Now I can test
> >L> my code usingEmacs.
> >L> But I think it works for me in a little bit different way.
> >L> My file contains only the print 'hello world'.
> >L> If I have no python shell running, then:
> >L> a) C-c RET opens *Python Output* buffer without any output and with
> >L> 'Shell command succeeded with no output' message at the bottom
> >L> b) C-c C-c opens *Python Output* with appropriate 'hello world'
> >L> message.
> >L> Then I run python shell with C-c ! command. And:
> >L> a) C-c RET opens *Python* buffer and prints 'hello world' in the
> >L> python shell
> >L> b) C-c C-c gives the same result.
>
> Which version of python-mode.el do you have? (Variable py-version)
> --
> Piet van Oostrum <p... at cs.uu.nl>
> URL:http://pietvanoostrum.com[PGP 8DAE142BE17999C4]
> Private email: p... at vanoostrum.org

py-version's value is "5.1.0"

Also maybe the problem is because I use Emacs version 21.4.1. But I
can't change it to 22, because I access Emacs via SSH on some shared
hosting service.

With regards, Max.



More information about the Python-list mailing list