The following tools may be installed to download and build the Vim source. On Windows, dynamic loading is standard with the result that although Python needs to be installed to build Vim, the resulting Vim executable can be run on a system with no Python (Vim would work, but attempting to use the Python interface would fail). If the output includes +python3/dyn then Python 3.x is supported, and the Python 3 DLL file shown in the output will be dynamically loaded if needed. If the output includes +python/dyn (with " +") then Python 2.x is supported, and the DLL file specified in the link command shown in the output will be dynamically loaded if needed. To determine whether a particular installation of Vim supports Python, enter the command :version in Vim. Vim can be configured to work with Python 2.x or 3.x or both (although the 3.x configuration is newer and less tested). If an interface between Vim and Python is wanted, Python needs to be installed separately, and Vim needs to be compiled with support for the version of Python used. Vim can be compiled to provide an interface so that Vim scripts can be written in Python, and so that Vim commands like :py print 2**1024 work. Python is optional, and not needed for normal Vim.
PYTHON IN VISUAL STUDIO 2013 HOW TO
This tip shows how to build Vim with or without a Python interface.