How to run python script in emacs
Nobody
nobody at nowhere.com
Sun Sep 27 00:43:45 EDT 2009
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.
More information about the Python-list
mailing list