New PortableApps.com Platform 12.0.5. Better, stronger, faster. Download or Buy on Drive
Instant access to over 300 free and legal portable apps including the new Firefox Developer (Nov 10, 2014)
PortableApps.com needs your help: Please donate today

gVim with Python

kemmotar - February 18, 2012 - 4:42am
Share on Facebook

How to add to gvim python support?


( categories: )

python24.dll in path

You'll need to have Python 2.4 and add the directory containing python24.dll to the PATH (see the python-dynamic help).

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

How to add dynamically to path?

Is there a way to edit the path portably? I was hoping there was just a gvim setting that would allow me to specify the location of python24.dll, but it looks like adding to the path is the only way.

[Edit]
Way to go for doing this, by the way. I use it all the time. By far my favorite portable app.

[Update]

I realized I could probably figure out how to tweak the launcher.ini in order to change the path. However, I am having trouble getting python-dynamic to show up, even with python27.dll or python26.dll, or python24.dll in the plain-old normal system path.

When I type :version it doesn't show "python\dyn". Are you sure this is possible with this compilation?

I am in the process of checking to see which version of python is supported with the standard compilation for windows. I believe it may be 2.2 based on the Visual Studio make file here: https://code.google.com/p/vim/source/browse/src/Make_mvc.mak

Will post back if 2.2 works.

[Update]

No luck. I believe, based on the link above, that dynamic loading of python might not be defined in the default compilation. Has anyone had any luck with this?

And after I had thought of it,
I said, "I will, then, be a toad."