Build a pyDev python development environment and helloworld in Eclipse

Source: Internet
Author: User

1. Install the Basic Environment

1. Install JDK 7 and configure the environment variables. (pyDev requires JDK 7 or a later version. Otherwise, the installation is not displayed)

2. Download Eclipse and decompress it.

3. Install python3.X

2. Configure pyDev in Eclipse

1, Install plug-ins: help-> Install new Software...-> enter PyDev Update Site-http://pydev.org/updates and then next, agree and so on.

2. Configure the python Compiler: Window-> perferences-> pyDev (JDK 7 or earlier versions are not available here)-> Interpreters-> python-> new(find python.exe In the python installation environment, and then complete the process.

 

3. Helloworld

File-> new-> other-> pyDev project-> check create src-> and the next step is complete.

Create a file in the src folder (select empty) and enter print ("HelloWorld ")

Right-click run as-> python run

Control bar output HelloWorld

 

 

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.