On Oct 11, 2013 9:18 PM, "Stanislav Golovanov" <[email protected]>
wrote:
>
> Hello. I've stumbled on a problem that sys.executable python command
inside Vim returns a Vim path, when it should return a Python path. Simple
test case:
>
> :py import sys
> :py print sys.executable
> C:\Program Files (x86)\Vim\vim74\gvim.exe
>
> Should be:
> C:\Python27\python.exe

What makes you think so? File python.exe is not used by vim. You may remove
it completely leaving relevant DLL library and vim will continue to work
with +python and so will be plugins written in python. Why should output of
sys.executable change if you remove irrelevant python.exe?

> vim --version: http://pastie.org/8395257
>
> --
> --
> You received this message from the "vim_dev" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups
"vim_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui