How to run python script in emacs
devilkin
devilspell at gmail.com
Sun Sep 27 22:44:07 EDT 2009
On 9月27日, 下午12时43分, Nobody <nob... at nowhere.com> wrote:
> On Sat, 26 Sep 2009 08:54:49 -0700, devilkin 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?
>
> According to "C-h m":
>
> M-C-x py-execute-def-or-class
> C-c ! py-shell
> C-c | py-execute-region
> C-c return py-execute-import-or-reload
> C-c C-c py-execute-buffer
> C-c C-s py-execute-string
>
> Also, "C-c ?" from within a python-mode buffer provides an introductory
> tutorial on python-mode.
Thanks, I tried C-c C-c, it gives no output, perhaps because I'm using
emacs on Windows. I'll test it on Ubuntu later.
and does the python-mode support auto-complete?
More information about the Python-list
mailing list