In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail about the characteristics of the Python integrated development environment, the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have some understanding of the relevant knowledge after reading this article.
After learning the Python integrated development environment for a long time, I will share it with you. When learning Python integrated development environment, you may encounter problems with Python integrated development environment. Take it out here and share it with you.
A few weeks ago, I had the privilege of doing a new trial of some Python development environments. This is likely to involve experimenting with a "text editor, attach command line" approach to Python development, while the more complex Python integrated development environment (IDE) is detailed on the Python discussion site.
The overall impression of Python IDE led me to a somewhat surprising conclusion. This may be some common sense relationship, or it may just be a coincidence. In general, I find that free tools are better than spending business tools. In addition to the review, I must first point out some tools that I haven't had a chance to try, which you can test yourself: PythonWare's PythonWorks Pro 1.1 looks promising; take a look at the screenshot of the demo version.
It includes a Tkinter form designer, a new editor, a debugger, and a beautiful screen interface. It works with Linux, Windows, and Solaris. The price of the PythonWorks Pro is quite expensive: $400. I was unable to get the final version for this evaluation. Boa Constructor is an open source Python IDE with an excellent interface, which includes wxWindows's form designer.
It also has an excellent editor, debugger, project manager, and some other components. Boa Constructor runs on Win32 and X11 (wxWindows for the right platform is required). Unfortunately, its home page claims that the program is still in the "pre-alpha" stage, and although the screenshot looks pretty good, I don't think I can recommend such an early development tool.
Of course, one category of untested tools are dozens of excellent text editors with a variety of Python-friendly features, such as syntax tag highlighting, execution windows, code merging, macro functions, and many features that even IDE lacks.
These tools are outside the scope of this discussion, but there is a lot to talk about about your favorite (and familiar) text editor. There will always be more or less standard and free Python code development tools for horizontal comparison. In general, these tools are stable, robust, and well-designed. On the other hand, standard free tools are not necessarily that flashy. Idle is a fairly basic IDE written in Tkinter under pure Python.
Idle is generally a standard Python distribution, even written by Guido van Rossum itself (at least for the most part initially). You can run Idle in any environment that can run Python and TK. After opening Idle, an enhanced interactive command line interpreter window appears (with better cut-and-paste, line-return, and so on, than the basic interactive command prompt).
In addition, there is an editor for Python (no code merging, but syntax tag highlighting and code completion), class browsers, and debuggers. The menu is TK "split"; that is, clicking on the dotted line of any drop-down menu at the top will promote the menu to its own window. In particular, the "Edit" menu, it is very useful to "lean" on the corner of the desktop.
Idle's debugger provides breakpoint, step, and variable monitoring capabilities; but it is not as good as its memory address and variable content memory or synchronization and other analysis capabilities. Of course, my debugging style includes some scattered print commands, but your approach is different from mine.
Some minor problems in Idle-at least in version 0. 6. Under my Win95r2 system (which I tried with Idle), the pop-up template always stays on the screen to block what I want to type. Perhaps even more serious is that it is easy to cause Idle to stop responding when running the wrong script. For example, the code while 1:x=1 is bound to cause Idle to force itself to shut down rather than execute the code.
Obviously, no one will deliberately write this code in the first place, but even in the oldest Python interactive session, it can be shut down using Ctrl-C (admittedly a session with this capability). PythonWin is better than Idle in many ways. Of course, as the name of the software suggests, this tool is aimed at Win32 users. The easiest way to get PythonWin is to download the ActivePython 2.0 distribution.
This version is pretty good (I installed build 203for this column). ActiveState's Python includes a series of excellent add-ons, and some (such as NumPy and PIL) can be selected as additional downloads during installation. There are other add-ons; one in particular is PythonWin (Idle is also included), and the other is a series of useful PythonCOM extension components written for Windows scripts.
The Python integrated development environment is very handy to use (as comfortable as using Windows). It has a useful editor, including code merging, syntax tag highlighting, and code completion features. PythonWin, like some IDE, does not include any type of form designer; but it provides an excellent debugger with monitoring, code review, interactive debugging windows, breakpoints, and other debugger features.
Most importantly, the Python integrated development environment is stable, although sometimes it strangely "stops responding" when used on Win95r2 systems. In terms of interface, PythonWin is relatively simple, but very attractive, making good use of embeddable and dockable elements (I have a preference for Idle-style "many windows everywhere", which is also used by many other IDE). PythonWin also integrates Python documentation and PythonCOM for the HtmlHelp version of ActiveState.
Analysis of the whole process of Python project testing
About the Discovery of Python Modules
Introduce and analyze the Python test suite
Analyze the special features of Python regular expressions
Interpretation of Python regular expressions from shallow to Deep
MacPython IDE is similar to PythonWin, except for different platforms. Like Idle and PythonWin, MacPython IDE comes with a standard distribution for its platform and is free software (written by Just van Rossum). After installing MacPython, I suggest that the first thing you do is try to get Advanced Editor Patch (see Resources at the end of the column).
The first installation was a bit strange, but the third was successful (I don't know what the initial problem was); installing this patch will get syntax tag highlighting and some context-sensitive functions or modules to help. Apart from the standard version, I don't know if any other IDE can work with Python on the Mac platform. Fortunately, the tool written by Just van Rossum is very consistent with both Python habits and Mac-like software style.
So much for sharing about the characteristics of the Python integrated development environment. I hope the above content can be of some help and learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.