Python + Eclipse + pydev environment setup, pythonpydev
This article focuses on using the Eclipse + pydev plug-in to write Python code, and configuring Eclipse + Pydev on Mac and Eclipse + Pydev on Windows.
Reprinted: https://www.cnblogs.com/Bonker/p/3584707.html
Editor: Python built-in IDLE
It is simple and quick. You can learn Python or compile small software. Very useful.
Editor: Eclipse + pydev plug-in
1. Eclipse is an IDE written in JAVA, so that it can be used in general, with a low learning cost. After learning Eclipse, you can write Python or JAVA.
2. Eclipse is powerful.
3. cross-platform Eclipse, which can run on Mac and Windows
Install Python
: Http://www.python.org/
Python is available in Python 2 and Python 3. There are some differences in syntax. To be safe, install Python 2.7.6.
Install JAVA JDK
: Http://www.oracle.com/technetwork/java/javase/downloads/index.html
Eclipse can run only after java jdk is installed.
Download Eclipse
Http://www.eclipse.org/downloads/ to download it here.
After downloading, decompress the package and you can use it directly. Eclipse does not need to be installed.
Pydev plug-in Introduction
Official pydev plug-in Website: http://www.pydev.org/(no need to download)
Install the pydev plug-in Eclipse
Start Eclipse and click Help-> Install New Software.... In the displayed dialog box, click Add. Name fill: Pydev, Location fill http://pydev.org/updates
Then install the SDK step by step. If an error is reported during installation. And then reinstall it.
Configure the pydev Interpreter
After installing pydev, you must configure the Python interpreter.
On the Eclipse menu bar, choose Windows> Preferences.
In the dialog box, click pyDev-> Interpreter-Python. Click the New button and select the path of python.exe. A window containing multiple check boxes is displayed. Click OK.
For Mac systems, click "Auto Config ".
Start writing code
Start Eclipse and create a New project, File-> New-> Projects... select PyDev-> PyDevProject and enter the project name.
Create pyDev Package. You can write code.
Enter the package name. Enter Test1 here.