Python integrated Development Environment (ECLIPSE+PYDEV)

Source: Internet
Author: User
Tags sublime text

just started to learn python, with EditPlus, notepad++ to write small programs, and then contacted Sublime Text2. Think very good, nothing to write code. Just use the editor sublime Text2,It's best to match a Aptana studio for debugging.

    • Sublime text has a beautiful user interface and powerful features such as code thumbnails, Python plugins, code snippets, and more.

      You can also define your own key bindings. Menus and toolbars.

    • The main features of Sublime Text include: Spell checker, bookmarks, full Python API, Goto feature, instant item switching, multi-select. Multiple forms, and so on.
    • Sublime Text is a cross-platform editor that supports Windows, Linux, Mac OS X and other operating systems at the same time.

Sublime Text2
development project, using compiler Pycharm. Pycharm is a python IDE created by JetBrains. Pycharm has the functions of the general Python IDE, for example: debugging, syntax highlighting, project management, code jump, smart tips, self-active completion, unit test, version number control.

Other than that. Pycharm also offers some very good features for Django development. Google App Engine is supported at the same time, and even cooler, Pycharm supports IronPython.


Pycharm
verify some of the features. That is, Python's own idleERIC+PYQT can also create the perfect Python integrated development environment, but it's useless.
Eclipse's Pydev, pretty good, is mostly handy for web development, writing unit test examples. But it's a little cumbersome to configure. If you want to install, you may have to rely on a bit of character!

The following is a PYDEV+ECLIPSE integrated development environment configuration.
before you install Pydev. You must first install eclipse before installing Eclipse. You must confirm that the Java execution environment is installed, that is, the JRE or JDK must be installed.
1, installation Pydev after Eclipse is executed. Select Help-->install new software, for example, as seen in.

Click Add to add the Pydev installation address: http://pydev.org/updates/. For example, as seen in the.

Click "OK" when you are finished. Then click Pydev "+", expand the Pydev node, to wait a short period of time, let it get pydev from the Internet related kits, when finished will be more than Pydev related kits in the sub-node, tick them and then press next to install. For example, as seen in the.

Once the installation is complete, restart Eclipse to

2. Set Pydev

After the installation is complete. Also need to set up a pydev. Select Window---preferences to set Pydev. Set the path to Python and choose New from Pydev's Interpreter-python page

A form will pop up that lets you choose where to install Python and choose where you want to install Python.

After the completion of the Pydev is set, can start to use.

3. Build python Project:

After installing the Eclipse+pydev, we will be able to start using it to develop the project. First, you create a project. Select File--New->pydev Project

A new form will pop up, fill in Project Name, and save the address of the project, then click Next to finish creating the project.

4. Create a new Pydev Module

There is no project to run with light. Next, you must create a new Pydev moudle, select File---New, Pydev Module

Select the file location and Moudle name in the pop-up form, and note that name does not add. py, it will take the initiative to help us join. Then click Finish to create.

Enter the code for "Hello World".

5. Running the program

After the program has been written, we can start running the program and find the button that is running on top of the toolbar.

A form will then pop up that lets you choose how to run it. Usually we choose Python Run. Start running the program.

Python integrated Development Environment (ECLIPSE+PYDEV)

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.