Home  >  Article  >  Backend Development  >  7 Python IDE tools you must know

7 Python IDE tools you must know

烟雨青岚
烟雨青岚forward
2020-06-22 12:59:472888browse

7 Python IDE tools you must know

7 Python IDE tools you must know

From a simple beginner platform to An expert development workbench, every Pythonista has an IDE.

There are so many IDEs built for Python now. IDLE, Komodo, LiClipse, PyCharm, Spyder, and Python Tools are six products that advanced to the final round of an application review because of their good applicability, but there are many more noteworthy IDEs--some of which have gone through complex efforts to A complete development system from experts, as well as projects for beginners.

Here are seven of our handpicked Python IDEs, ranked from smallest to largest, that should be on your radar too.

1. Eric6

Like Python’s own IDE IDLE, Eric6 is a Python IDE written in Python, although it uses the Qt5 UI framework to provide a more complex IDE than IDLE. A lot of UI. But it requires some components to get started, because Eric6 does not apply like traditional native platform programs. It's essentially a big Python package with a few heavyweight dependencies, such as Qt5's Python bindings. The upshot: getting started with Eric6 requires an understanding of Python package management, so it's unlikely to appeal to novice users. In this regard, the installer script provides feedback so that you know which packages need to be extracted and installed to complete the setup process (e.g. PyQt5, QScintilla).

Apart from the installation process, Eric6 has the distinguishing feature of being well-equipped. It includes the usual utilities of a modern IDE such as class browsing, version control, etc., but it also integrates support for Python-specific features such as unittest, PyLint and the cx_freeze application distribution system. New projects created in Eric6 can also build PyQT4/5 GUI and console applications since the underlying libraries are already installed, but additional development tools such as Qt's form designer are not included by default.

2. Wing IDE

As an "intelligent development environment for Python programmers", Wing IDE emphasizes functional integration specifically designed for Python users. This isn't just refactoring capabilities across code bases or using multiple Python interpreters. It also includes detailed integration with many popular Python frameworks (Django, Zope, Plone), packages (PyQT, wxPython, PyGTK) and third-party applications (Maya, Blender). Raspberry Pi users can also use Wing IDE for development.

Wing is a commercial product, but it has two free versions and has many benefits for independent developers and beginners. The Wing IDE 101 version doesn't have most of the suite's advanced features, including many that developers might use for day-to-day tasks (bookmarks, module browsing, refactoring), but it's a good onboarding tool for Python beginners to avoid having to worry about functionality. The lagging IDLE is entangled. The personal version, also free, restores many, but not all, professional-level features. For the Pro version, there is a 30-day trial, or perpetual and annual licenses start at $69 per user.

3. Pyzo

Sometimes you just need so much. Pyzo is a small IDE, mainly aimed at scientific computing users, with a small toolset: editor, interactive shell, file browser, source structure browser and some other facilities. It is primarily intended for quick interaction with libraries where you can type commands or execute individual files in Python's REPL, rather than formal application development. In this sense, it is less suitable for those who want to create applications and more suitable for those who want to use Python as a workbench environment.

To facilitate decompression and development, Pyzo provides platform-native executables - no need to piece them together at runtime. It will work with the existing CPython runtime, but its creators recommend a simplified version of miniconda released by Continuum Analytics' Anaconda, which makes it easy to get packages and add-ons without too much hassle.

4. Thonny

Beginners often tend to IDLE when they want to learn python for real, but Thonny is a program specially designed for beginners to use this language. A small IDE is a simpler choice. Available on Windows, Mac or Linux, it also saves users downloading or configuring a Python interpreter. The latest versions of Python (currently 3.5) are bundled with Thonny and the IDE comes with it by default out of the box. That said, you can always swap in any other Python runtime.

By default, Thonny installs itself in the user's profile directory, so it does not require elevated permissions to set up or use - convenient for someone using someone else's computer or a person without administrator rights. The menu command bar allows you to open a command line conversation with Thonny's interpreter and as the default selection can bring up the package manager when typing "python" or "pip". (It's a good idea.) But Thonny has some rough edges. When I use the integrated debugger on a fairly large program, the IDE itself throws an error. Therefore, Thonny is best suited as a self-service teaching tool rather than a complete software development environment.

5. NINJA-IDE

As an independent project, NINJA-IDE can be used like professional-level development tools, such as ActiveState's Komodo IDE or PyCharm, not only in developer experience, and its feature set is built by and for Python users. For example, NINJA-IDE's Preferences dialog has a tab for selecting the Python interpreter to use when running your program , as well as checkboxes for enabling or setting all the various command line options used by the interpreter. Like me, this is very handy if you forget what they are or can't remember to set them for a specific script. in the IDE Another tab, shown by default as Migration 2to3, can analyze scripts written for Python 2.x and make recommendations.

6. VisualStudio Code

Microsoft's simplicity And the lean code editor gets its power from its vast galaxy of extensions that support different languages. There are a bunch of Visual Studio Code extensions for Python developers, but the most popular, easiest and most important is Don Jayamanne’s extension. It works with every Stay in sync with an up-to-date version of Python that integrates support for all the good stuff you want: code snippets, code static analysis, autocompletion, integration with scientific tools like Jupyter, refactoring, unit testing, debugging, and more More.

7. Atom

GitHub’s Atom editor is built from some of the same parts as Visual Studio Code, but its biggest similarity is Design philosophy: Keep it lean and add language- or developer-specific functionality via external packages. For Python users, there isn't a single, overall add-on that rivals the work of Don Jayamanne's Visual Studio Code. Most of the time you'll need These are the packages: language-python for basic syntax highlighting and fragment support, python-tools for easy features like quick refactoring, autocomplete-python for autocomplete and linter-flake8/linter-pep8/linter-pycodestyle Code static analysis (this depends on the Python package you use).

Thank you everyone for reading, I hope you will benefit a lot.

This article is reproduced from: https://blog.csdn.net/lmseo5hy /article/details/80053496

Recommended tutorial: "python tutorial"

The above is the detailed content of 7 Python IDE tools you must know. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete