preparing the Environment operating system: WINDOWS10 eclipse:neon.3 Release (4.6.3) jdk:1.8.0_121
First, download the Python installation package, install and configure environment variables
Website Download 2.7.14RCL
https://www.python.org/downloads/windows/
Go to the URL above, choose Install package Windows x86-64 MSI installer download
Installation
Fool next installation, the default installation location is C\python27.
Configure Environment variables
3.1. Desktop > This computer > Right key properties > Advanced system Settings > Environment variable > System variables, enter configuration interface
3.2. New variable named python_home, variable value c\python27 system variable
3.3. Edit path: tail add;%python_home%
Test whether Python is installed successfully
4.1.win+r The Run window, enter CMD in the input box, press OK to start the Command line window
4.2. Test
#输入查看版本的命令python--version, the following output indicates that the Python installation configuration was successful
Shell>python--version
python 2.7.14rcl
# Enter Pyton text Interactive interface
Shell>python
>>>
exit interface
>>> quit ()
ii. Eclipse Configuration python development environment
Installing the Pydev Plugin
1.1.eclipse>help>eclipse Marketplace, enter Configuration interface
1.2.Find text Box input Pydev, click the Enter key to search, the results of the search out click install button for a fool-type installation (the middle need to click Accept terms)
1.3. After the installation is complete, restart eclipse
Configuring the Python Parser
2.1.eclipse>window>pydev>interpreters>python interpreter, enter Configuration interface
2.2.new>browse, select the Python.exe in the C\python27 directory to complete
Test Eclipse New Pydev Project, new Pydev Package
, enter the following code in the auto-generated python file init. py, F11 in Python run, and the console terminal window displays Hello Python, which means that the installation and configuration of the Pydev plug-in is complete
#coding =utf-8
name = ' Hello python ';
Print name;