Windows will gvim8 configured as a Python IDE is divided into the following four steps, each step is described in great detail, take a look together.
1. Preparation
Download the following installation package or file
1) Python 2.7 /ftp/python/2.7.2/python-2.7.
2) gvim8.0 /
3) Exuberant Ctags /
4) Taglist /scripts/?script_id=273
5) Pydiction /scripts/?script_id=850
2. Installation
1) Install Python 2.7, I installed to D:\Program Files\Python27, add this path to the environment variable;
2) Install gvim, I installed to D:\Program Files (x86)\Vim, add the path D:\Program Files (x86)\Vim\vim80 to the environment variable;
3) Install Ctags, download the file to unzip it and copy the files to D:\Program Files (x86)\Vim\vim80 path;
4) Install Taglist, unzip the downloaded file and copy the files in the plugin file to D:\Program Files (x86)\Vim\vim80\plugin path;
5) Install Pydiction, download the file and unzip it, then copy the three files complete-dict, pydiction and python_pydiction.vim under after\ftplugin path to D:\Program Files (x86)\Vim\vim80\ ftplugin path.
3. Configure _vimrc
I have this file in the D:\Program Files (x86)\Vim path.
Open the file _vimrc and add the following statement at the end (without the Chinese character part):
let Tlist_Ctags_Cmd='' (classifier for sums of money:If it is not placed in the first2In the document referred to in step,The full path is to be given here) let Tlist_Auto_Open=1 let g:pydiction_location ='D:\Program Files (x86)\Vim\vim80\ftplugin\complete-dict' (classifier for sums of money:That's your own in single quotes.vimtrails) let g:pydiction_menu_height = 20 map <F12>:! % (This statement is used to set compilation shortcuts,After the program is written pressF12can immediately (do sth))
4. Write and compile running programs
Write the code as follows
name = raw_input("what's your name?") print "Hello, "+name+"!
After saving, press F12 and enter to finish compiling and running the program, as shown below:
The above is a small introduction to the exploration of Windows will be gvim8 configured as a Python IDE method, I hope to help you, if you have any questions please leave me a message, I will promptly reply to you. I would also like to thank you very much for your support of my website!