Full explanation of Python Development Environment Performance

Source: Internet
Author: User

The Python development environment can express the intent of the development program more quickly and accurately, but people who have just switched from other development languages to the Python language will find that, the rich and sophisticated IDE and development tools are missing, which is difficult for many developers.

Developers can find solutions from the Java development tools they are familiar. This article focuses on how to use popular Java-based development tools Eclipse and Ant for Python development. For many years, there has been a lot of cross-flower pollination between the Java language and the Python Development Environment camp. In this regard, the outstanding table rate may be Jython.

This is a Python runtime environment purely implemented in Java. According to this statement, you will study how to use Eclipse IDE and Ant build and deployment tools for Python development. Eclipse and Ant are very popular tools with rich features, strong scalability, and open source code. Python also has the same quality.

PyDev and PyAntTasks are extensions of Eclipse and Ant respectively. With these extensions, you may use these Java tools to develop Python. This article begins with the tools and extensions required for download and installation. To explain how to use Eclipse and Ant in Python development, I will use the actual Python code example to read RSS resources.

  • Introduction to Python RSS file functions
  • Simple and Easy-to-use Python tools
  • Object-Oriented Programming-Python applications
  • Summary of the features of the Python operating language
  • A detailed discussion on a wide range of Python enterprise applications

This article does not cover the details of Eclipse, Ant, and Python. For more information about these topics, see the links in the references section. Python support software used in this article has been tested in CPython 2.3. In addition to several exceptions, it should be able to run in Jython.

  • Introduction to Python RSS file functions
  • Simple and Easy-to-use Python tools
  • Object-Oriented Programming-Python applications
  • Summary of the features of the Python operating language
  • A detailed discussion on a wide range of Python enterprise applications

Note that the PyDev debugger currently does not support Jython. Another difference is that the script executed through Jython is transferred to the interactive mode after running from PyDev. In this way, you must manually kill. The PyDev editor is compatible with source code of Jython. Python Development Environment tasks are also compatible with Jython in addition to py-doc tasks.

Eclipse is an Integrated Java Development Environment developed by IBM and its source code is open. It is the foundation of the IBM commercial software WebSphere Application Development Environment and other tools. The Eclipse development community is very active. They not only develop Eclipse, but also develop a large number of plug-ins for Eclipse. Websites related to Eclispe and Eclipse plug-ins.

Link in section. Although Eclipse is traditionally a Java development tool, the existence of some plug-ins makes it possible to develop programs in other languages in Eclipse, such as C/C ++, Python, and Perl. In Eclipse, the source code is organized into the project. Projects can be loaded, detached, and imported. Eclipse user interface structure is divided into View) and Editor ).

Examples of views and editors include: Source Code outline view, Java source code editor, Python source code editor, and file system navigation view. The most important implicit concept in the Eclipse user interface is the perspective ). A view is a set of views that are usually used together when a type of activity is executed.

Standard perspectives in Eclipse include: Debug, Java Browsing, Java, Java Type Hierarchy, Plug-inDevelopment, CVS Repository refreshing ing, Resource, and Install/Update. Currently, there is no separate Python perspective. During Python development, I usually use the Resource and Debug perspectives.

Now I want to learn how to understand the features of PyDev through imported projects. PyDev is in the development process, but it is already a very efficient Python development environment. Current PyDev mainly includes the following features:
◆ Python editor that includes the Python syntax highlighting feature.
◆ Perform Python syntax analysis and highlight errors in the Python editor and Tasks view.
◆ Option for converting tabs into spaces.
◆ The Outline View displays imported libraries, classes, and functions.
◆ The Python stack trace information in the terminal view can be hyperlinked to the source code.
◆ Hyperlinks in the source code. You can use hyperlinks to navigate the import and function calls in the same module.
◆ The ability to run Python scripts from the Navigator view. The debugger supports breakpoint, single-step code execution, and variable value display.

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.