Note One: Python's Pydev plugin installed on eclipse (new plugin address location)

Source: Internet
Author: User

Note: Part of the content of the reference on the Internet, if there is infringement, please contact me, immediately for deletion

Install Pydev:

First you need to go to eclipse official website download: Http://www.eclipse.org/,Eclipse requires JDK support, if Eclipse does not work properly, download the JDK installation on the Java website: http://www.oracle.com/ Technetwork/java/javase/downloads.

Open Eclipse, find the Help menu bar, go to install New software ... Options.

Click Work with: next to the input box click Add...,name can be anything, I entered the pydev,location is http://pydev.org/updates. Click OK.

Note: The location is now
https://dl.bintray.com/fabioz/pydev/latest/

Wait a minute,

You can see each option in the selection bar.

Select Pydev, then all the way next, go to the installation path selection interface, use the default settings, and then Finish. Eclipse will download PyDev and you can see the progress of the download from the Eclipse taskbar. After the Pydev is installed, you need to restart eclipse.

Configuration Pydev:

After the Pydev is installed, you need to configure the interpreter. In the Eclipse menu bar, choose Window > Preferences > Pydev > Interpreter–python to configure Python here. You first need to add an already installed interpreter. If you do not download and install Python, please download the 2.x or 3.x version on the official website: http://www.python.org/.

I am using the python3.x version and Python is installed under the D:\Python32 path. Click New to enter the dialog box. Interpreter name can be arbitrarily named, interpreter executable Select the Python interpreter Python.exe.

Click OK to jump out of a window with a lot of checkboxes, select the option you want to add to the system Pythonpath, and click OK.

Then in the Python Interpreters window, click OK again, which completes the configuration of the Python interpreter.

By this Pydev the configuration has been completed and you can use eclipse to start writing python.

Hola World:

In the Eclipse menu bar, choose File > New > Pydev > Project ..., select Pydev Project in the window, there are three kinds of projects you can create, select Pydev Project.

Click Next, enter the project name, select the appropriate project type, and the Python syntax version and Python interpreter you are using.

Once created, go to perspective, right click the src icon, select New->pydev Package and create a new one. The __init__.py file is automatically generated, and the file contains no content. Right-click the created package, select New->pydev module, create a new Python module, click Finish.

So we can start creating the first. py file.

Note One: Python's Pydev plugin installed on eclipse (new plugin address location)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.