Eclipse+python Development Environment Configuration

Source: Internet
Author: User

Download the plug-in for Python development under Eclipse Pydev, which is currently in version 1.6.5. http://sourceforge.net/projects/pydev/

After downloading, the unpacked folder contains two directories.

You can complete the Eclipse Python development patch installation by copying the files under both directories to the corresponding two identical names in the Eclipse installer.

restart Eclipse.

Open the Windows menu and open the Preferences submenu to see the installation results of the Pydev patch in the Pop-up dialog box.

Select the subkey Interpreter-python to set up the Python development environment. Such as:

Click the New button in the upper-right corner, click the "Browse ..." button in the pop-up dialog, then locate the Python installation directory and select Python.exe (this is the compiler for the Python program). The Popup environment variable setting option will also pop up without modifying the direct confirmation.

As shown in the configuration complete interface.

development environment testing.

After the configuration is complete, restart the Eclipse development environment, open the "File" menu, select "New->project", and create a new project.

Select the Pydev project option under Pydev, and then set the project name and storage path.

Once the project is completed, the Project Management window automatically adds the "src" directory and the Python compiler. As shown, then, right-click on the "src" directory point to add a file named "main.py". Then, open the file Add code "print (" Test,hello world!\n ")" Test. Such as:

Click on the Green Run button above, Eclipse will prompt to select the file you want to compile, default, start compiling run. You will see the console output running results below.

The test is complete. Indicates that the environment is configured successfully.

Eclipse+python Development Environment Configuration

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.