how to execute Python in VIM

bradya at gmail.com bradya at gmail.com
Sun Mar 6 13:07:02 EST 2005


> > map <F12> <Esc>:!d:\python24\python.exe %<CR>
> >
> >
> > but it comes with a new pop-up windows........dame~
>
> I'm no windows expert - but maybe pythonw.exe helps here?

I find that using pythonw.exe and the silent prefix in Vim works best
for me:

map <F5> <Esc>:silent !pythonw.exe %<CR>

Regards,

Aaron




More information about the Python-list mailing list