On 09/06/09 00:16, Gael Varoquaux wrote: > On Mon, Jun 08, 2009 at 05:14:27PM -0500, Gökhan SEVER wrote: > > IPython's edit command works in a similar fashion, too. > > > edit test.py > > The cool thing is that you can select text in the editor and execute in > EPDLab. On the other hand, I know that IPython has hooks to grow this in > the code base, and I would like this to grow also directly in IPython. > > Hell, I use vim. How cool would it be to select (using visual mode) > snippets in vim, and execute them in a running Ipython session.
I think there's a vim script for executing the marked code in python. If IPython has already hooks for executing code in an existing session, it might be possible to adapt this script. Also I encourage everyone to have a look at pida: http://pida.co.uk/ which is a python IDE using an embedded vim (although you can embed other editors as well I think). The website looks like development has been stale, but if you look at svn there've been commits lately. Cheers Jochen > > Gaël > _______________________________________________ > Numpy-discussion mailing list > [email protected] > http://mail.scipy.org/mailman/listinfo/numpy-discussion _______________________________________________ Numpy-discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
