Tell you the reason for purchasing Python IDE

Source: Internet
Author: User

After studying Python IDE for a long time, I would like to share with you that you will certainly have a lot of gains after reading this article. I hope this article will teach you more things and learn about Python IDE, you may encounter various problems. Here we will introduce how to solve the Python IDE problem.

The price for WingIDE is USD 100. BlackAdder is priced at $80 (for personal systems only) and $400 (for distribution of BlackAdder running components to others ). Unfortunately, I found that these two products are not stable enough to be recommended for actual development.

If the IDE cannot be used for actual development, there are not so many common functions. We hope these two products can be improved through new versions or patch fixes. BlackAdder is a QT-based development environment in linux and windows. See the screen. The product mentioned in this column is the only one with a Form Designer.

In addition, the Form Designer itself is doing very well (for PyQT programming ). Like Delphi, Visual Basic, and similar tools, you can place gadgets on the panel and adjust attributes and behaviors in the "attributes" form. The icon of the element is a little dull, especially when it turns gray, but it is not very important to be beautiful. The source code editor provides code merging and syntax label highlighting, but there is no automatic Code Completion prompt.

BlackAdder has a very good debugger, which is similar to other free tools except for the lack of monitoring functions. Unfortunately, I encountered some serious usage problems in testing V1.0 beta 2. I tested the Mandrake, Slackware, and Windows packages (but did not test Debian and Redhat, although I think the Linux variants are just different software packages ). Various problems are everywhere.

For example, the default font is too small to be read in Linux and Windows. Changing the font of the editor requires you to monotonically modify the font of 20 syntax markup elements (there are not many other "inherit font" options in the editor and IDE ).

Worse, in the Mandrake 7.1 and custom Slackware 7.1, the Python interpreter "unexpectedly terminated" When BlackAdder was started ". You can edit files but cannot run them in IDE. My attempt to change the Python IDE -- pointing to Python 2.0 or Python 1.5.2 -- successfully changed the error message but did not solve the problem.

In addition, some Python scripts in Windows cannot be opened in BlackAdder, and the prompt is "X is not a valid BlackAdder File ". There is no obvious rule for this information. You may solve this problem through some efforts-but if you spend $400 to buy the product, you will not be able to debug it.

WingIDE is a good IDE. See the screen. Its Editor contains syntax labels highlighted in many languages, although it is only a Python-oriented tool. The source code browser is very useful for browsing projects or modules (as shown in the navigation source code and document line summaries ). Although there is no monitor, the debugger is well designed.

The editor has excellent command auto-completion and function jump list, but no code merging. The project-oriented IDE is very useful for large products (in this respect, it is better than Komodo in most free IDES ).

The overall interface is like an enhanced Idle, which uses a "Multi-Window" arrangement similar to many TK and XWindow interfaces. I like to use docking and embedding (this is not due to the excessive use of MS Visual Studio), but different developers may like forms of different styles. WingIDE is a promising development environment. BlackAdder and even WingIDE-versions 1.0 and 1.1b3 I tested-cannot be recommended for major development due to problems.

There are a lot of annoying things, such as the license key setting process and the odd-probably missing-toolbar prompts. There are also many small errors. For example, the menu item "Open recent file" is missing. Therefore, when the program is running (not just test code), you can only open the interactive command line interpreter window.

However, these problems are all minor issues. The fatal problem is that WingIDE randomly generates a split error in my Mandrake 7.1. Once this happens, everything is done, and you will lose any ongoing work. "Save frequently" is a good suggestion, but it is not enough to make WingIDE fully available.

It is generally considered that Python IDE is an explanatory language, but this statement is incorrect. In fact, when Python is executed. the source code in the py file is compiled into the byte code bytecode of Python), and then the compiled byte code is executed by the Python Virtual Machine.

The basic idea of this mechanism is consistent with that of Java and. NET. However, what is different between Python Virtual Machine and Java or. NET Virtual Machine is that Python Virtual Machine is a more advanced Virtual Machine. The level here is not the level in the general sense.

  • In-depth analysis of Python features
  • Extensive Application of Python system programs
  • Graphical introduction to Python application functions
  • Introduction to the Python application field
  • Program editing using the Python script language

It doesn't mean that Python's Virtual Machine is more powerful than Java or. NET, but that Python's Virtual Machine is farther away from real machines than Java or. NET. Alternatively, Python Virtual Machine is a Virtual Machine with a higher abstraction level.

C-based Python compiled bytecode files, usually in. pyc format. In actual development, python is often nicknamed the glue language, which does not mean that it will stick your fingers, instead, he can easily connect various modules made in other languages, especially C/C ++.

A common application scenario is to use Python IDE to quickly generate a prototype of a program, sometimes even the final interface of the Program), and then have a special requirement for it, rewrite with a more appropriate language. For example, if the graphics rendering module in 3D games requires a high speed, it can be rewritten with C ++.

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.