Program Python in VIM
pinard at iro.umontreal.ca
Thu Jan 22 17:59:27 CET 2004
> I'm giving vim a try to program Python. The following are the steps I
> follow to code/test a python program.
> vi test.py
> [key in some python code]
> :!python test.py
> Is there any other way? I don't want to type 'python test.py' every time
> I've made any modifications. In Emacs, I can simply fire C-c C-c to fire
> the python interpreter. Thanks!
I do not know if there is a better way, but what I do for one is to
create a small Makefile like:
(there is really a TAB above), and then, from `vim', do `:make'.
François Pinard http://www.iro.umontreal.ca/~pinard
More information about the Python-list