In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)05/31 Report--
Most people do not understand the knowledge points of this article "how to configure gvim8 to Python IDE under Windows", so the editor summarizes the following, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "how to configure gvim8 to Python IDE under Windows" article.
1. Preparatory work
Download the following installation package or file
1) python 2.7
2) gvim8.0
3) exuberant ctags
4) taglist
5) pydiction
two。 Installation
1) install python2.7, which I installed to d:\ program files\ python27, and add this path to the environment variable
2) install gvim, which I installed to d:\ program files (x86)\ vim, and add the path d:\ program files (x86)\ vim\ vim80 to the environment variable
3) install ctags. After decompressing the download file, copy the ctags.exe file in the file to d:\ program files (x86)\ vim\ vim80 path
4) install taglist, extract the download file and copy the taglist.vim file in the plugin file to d:\ program files (x86)\ vim\ vim80\ plugin path
5) install pydiction. After decompressing the download files, copy the three files complete-dict,pydiction and python_pydiction.vim under the after\ ftplugin path to the d:\ program files (x86)\ vim\ vim80\ ftplugin path.
3. Configure _ vimrc
My file is in the d:\ program files (x86)\ vim path.
Open the file _ vimrc and add the following statement at the end (no Chinese characters):
Let tlist_ctags_cmd='ctags.exe' (note: if ctags.exe is not placed in the file mentioned in step 2, the complete path is given here) let tlist_auto_open=1let g:pydiction_location = d:\ program files (x86)\ vim\ vim80\ ftplugin\ complete-dict' (Note: your own vim path in single quotation marks) let g:pydiction_menu_height = 20map:! python.exe% (this statement is used to set compilation shortcuts Press f12 after the program is finished)
4. Write and compile running programs
The code is as follows
Name = raw_input ("what's your name?") print "hello," + name+ "!
After saving, press f12 and enter to complete the compilation and operation of the program, as shown below:
The above is about the content of this article on "how to configure gvim8 to Python IDE under Windows". I believe we all have some understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.