Interactive Python programming in ... vi [was: Tab wars revisited]

Michele Simionato michele.simionato at gmail.com
Fri Jul 16 18:44:05 CEST 2004


Jacek Generowicz <jacek.generowicz at cern.ch> wrote in message news:<tyf8ydktilx.fsf at pcepsft001.cern.ch>...
> michele.simionato at gmail.com (Michele Simionato) writes:
> 
> > "Process Python exited abnormally with code 1"
>  
> > Is there a way to get any info about why the Python process failed?
> 
> You could start by looking at the python interpreter Emacs is trying
> to run:
> 
>    C-h v py-python-command RET

Thanks Jacek, this did the job. py-python-command was set to 
"/usr/bin/env python"
and Mandrake was not happy about that, for some reason. 
I solved setting py-python-command to "/usr/bin/python". Now it works.
Still, it is not as handy as in Scheme/Lisp where I can execute the block
by just giving C-x C-e after the last parens (ah, how bad Python lack of 
parens ;)

BTW, if someone needs tips for programming Scheme with emacs my suggestion
is to try quack.el by Neil van Dyke (google is your friend).


                       Michele Simionato



More information about the Python-list mailing list