In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article is about how to describe the powerful functions of Python code development tools, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
Python code development tool is a commonly used language tool in computer language.
There will always be more or less standard and free Python code development tools. 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 pure Python using Tkinter to write a fairly basic IDE. 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).
Introduction to the concrete operation method of compiling Python regular expression
Introduction to related code examples of Python module-level functions
Code introduction of python String Module in practical Application
A brief introduction to the Scheme of Python Code in practical Application
Python syntax check specific methods of referencing PyLint configuration
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). This section is an introduction to Idle-related functions in Python code development tools.
PythonWin
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, which 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. ActiveState also has a non-Windows distribution, but some components lack a counterpart to Windows. PythonWin is very easy to use (just 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, PythonWin 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). This section is an introduction to PythonWin in Python code development tools.
PythonWin also integrates Python documentation and PythonCOM for the HtmlHelp version of ActiveState.
MacPython IDE
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 installation is a bit strange, but the third time is successful (I don't know what the initial problem is); 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.
MacPython IDE contains a Python command line window (Mac itself does not have a command line, so it requires multi-step implementation), an editor, a debugger, and even a descriptor. In its environment, there are also function jump lists, module browsers, and other tools. The debugger is excellent, but there is no monitor. The editor "not included in the standard release" is primitive, but the patch adds syntax tags to highlight.
However, there is still no code merging or code completion (but there is a line of context function documentation after the patch is installed). The built-in descriptor is a feature that most IDE does not have, which is also the advantage of MacPython.
The above is how to describe the powerful functions of Python code development tools, and the editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
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.