Hitting ctrl-c, twice quickly works for me. > -----Original Message----- > From: python-list-bounces+frsells=adventistcare....@python.org > [mailto:python-list-bounces+frsells=adventistcare....@python.org] On > Behalf Of OdarR > Sent: Wednesday, October 07, 2009 12:02 PM > To: python-list@python.org > Subject: Re: How to run python script in emacs > > On 26 sep, 17:54, devilkin <devilsp...@gmail.com> wrote: > > I'm just starting learning python, and coding inemacs. I usually > > splitemacswindow 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 likeemacsshort cut? > > > > also please recommand someemacsplug-ins for python programming, i'm > > also beginner inemacs.currently i'm only using python.el. Are any > > plugins supply code folding and autocomplete? > > > > BTW, I'm not a english native speaker, any grammer mistakes, please > > correct them. :) > > hello, > > I was not so long ago in the same situation. > I switch to emacs too, why ? > probably because the movement is more natural than in vi (used for 12+ > years), > python-mode automatically starts on the machines I'm using, this is > very convenient for *re-indentation* . > Python could be difficult to maintain if you don't have a flexible > text editor. > if you want, i can suggest you some lines for the init file .emacs, > in order to keep the text indented with 4 spaces, no tab at all (very > important). > > I also suggest you to have a look on ipython shell, which is a super > shell you keep side the text editor. > once you discover it, you'll understand. > > I didn't hear for an autocompletion in emacs. > but ipython has a autocompletion. It can sound weird to auto-complete > outside your editor, but I like it. > you can test little code snippets in ipython, discover the > documentation and methods, and try them. > I discover this clever advice in http://oreilly.com/catalog/9780596515829/ > > currently I work with Mac (Aquamacs), and I was recently on Solaris or > XP as well. > PS: emacs on Mac Terminal with a french keyboard is a bit of a > nightmare considering the META key...:-( > Aquamacs solves this finally. > > > Olivier > -- > http://mail.python.org/mailman/listinfo/python-list
---------------------------------------------------------------------- [**CONFIDENTIALITY NOTICE**]: The information contained in this message may be privileged and / or confidential and protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to this message and deleting the material from any computer. -- http://mail.python.org/mailman/listinfo/python-list