[Tutor] Invoking Python from Vim

Mike Hansen Mike.Hansen at atmel.com
Fri Jun 8 19:35:20 CEST 2007


 

> > -----Original Message-----
> > Date: Fri, 8 Jun 2007 00:19:39 +0100
> > From: "Alan Gauld" <alan.gauld at btinternet.com>
> > Subject: Re: [Tutor] Invoking Python from Vim
> > To: tutor at python.org
> > Message-ID: <f4a3qc$2u6$1 at sea.gmane.org>
> > Content-Type: text/plain; format=flowed; charset="iso-8859-1";
> > 	reply-type=original
> > 
> > 
> > "Matt Smith" <matt at mattanddawn.orangehome.co.uk> wrote
> > 
> > > Do any Vim users have a better way of running a Python 
> program while
> > > it
> > > is being edited in Vim?
> > 
> > My personal preference is to have 3 windows open:
> > 
> > 1) gvim for editing the files
> > 2) a console for running the files using command recall to do so
> > 3) a console running a python shell prompt
> >     (actually nowadays I'm using a a PyCrust shell)
> > 
> > And I alt-tab between the windows.

I also use the three window solution(VIM, IPython, and shell to run
program.)

You might look at Pida which turns VIM into a IDE. I'm not sure, but I
think it's Python friendly since it's written in Python.

http://pida.co.uk/

Mike


More information about the Tutor mailing list