preferred windows text editor?

Ant antroy at gmail.com
Thu May 10 11:11:53 EDT 2007


On May 10, 9:59 am, Charles Sanders <C.delete_this.Sand... at BoM.GOv.AU>
wrote:
> Ant wrote:
>
> > What method of executing code snippets in a Python shell do other Vim
> > users use? Other than just copy/paste?
>
> Not vim, but good old vi so should work in vim
>
> 1. Mark the start of the fragment, for exampls ms (to mark
> with label s). Labels a through z are available.
> 2. Move to the end of the fragment.
> 3. :'s,.w !python     to send the fragment to the python
> interpreter

Yes - that works nicely for code snippets in isolation. My quest for
tighter integration of the Python console/IPython and vim will have to
continue...

--
Ant...

http://antroy.blogspot.com/





More information about the Python-list mailing list