How to run python script in emacs

doug doug.stevens73 at gmail.com
Wed Nov 25 12:38:54 EST 2009


When I type C-c C-c my emacs window just hangs.  If I use Task Manager
to kill cmdproxy I can get emacs back but of course interactivity with
Python is not accomplished.  By the way, if I do C-c ! then I get a
functional python shell.  Does anybody know a solution to this?

On Oct 13, 7:12 am, rustom <rustompm... at gmail.com> wrote:
> On Sep 26, 8:54 pm, devilkin <devilsp... at gmail.com> wrote:
>
> > I'm just starting learning python, and coding in emacs. I usually
> > split emacs window into two, coding in one, and run script in the
> > other, which is not very convenient. anyone can help me with it? is
> > there any tricks like emacs short cut?
>
> > also please recommand some emacs plug-ins for python programming, i'm
> > also beginner in emacs.currently i'm only using python.el.
>
> python.el comes with emacs
> python-mode.el comes from python  https://launchpad.net/python-mode/
> Because of some emacs politics the first ships with emacs although
> most uses prefer the second.
> Note 1. The key bindings are different
> Note 2. Does not work with python3. See my posthttp://groups.google.com/group/comp.lang.python/browse_thread/thread/...
>
> > Are any plugins supply code folding and autocomplete?
>
> See ropehttp://rope.sourceforge.net/ropemacs.htmlif you want
> but its an installation headache (requires pymacs bleeding edge
> version etc)
> I suggest you just get used to python-mode first (C-c ! and C-c C-c)
> and then explore these questions a bit later.
>
>
>
> > BTW, I'm not a english native speaker, any grammer mistakes, please
> > correct them. :)
>
> grammer is spelt grammar :-)




More information about the Python-list mailing list