How to run python script in emacs

Pedro Insua pedroinsua at gmail.com
Tue Dec 22 19:34:44 EST 2009


On Wed, Nov 25, 2009 at 09:38:54AM -0800, doug wrote:
> 
> 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?
> 

  run emacs with --debug-init , then see the *Messages* Buffer.

  With Python, I use python-mode, pymacs with rope, pysmell, and
  anything with iPython.

  I prefer iPython like shell.. 

  But see http://www.emacswiki.org/ , there's a lot of documentation.

  And .. Emacs version? Python version? .. etc




> 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 :-)
> 

-- 
Porqué loitar e matar, se podes amar e sonhar

/"\
\ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
 X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
/ \



More information about the Python-list mailing list