Python It's very easy to learn , Powerful programming language .Python Including efficient and advanced data structures , Provides simple and efficient object-oriented programming .
Python The process of learning is indispensable IDE Or code editor , Or integrated development editor (IDE). these Python Development tools help developers speed up the use of Python Speed of development , Increase of efficiency . Efficient code editor or IDE Plug ins should be provided , Tools and other features that help developers develop efficiently .
This article is a collection of some very helpful for developers , Easy to use 10 paragraph Python IDEs. If you have a better recommendation , Please share with you in the comments :)
VSCode Download address :Visual Studio Code - Code Editing. Redefined
Visual Studio Code( abbreviation VS Code) Is a cross platform free source code editor developed by Microsoft . The software supports syntax highlighting 、 Code auto completion ( also called IntelliSense)、 Code refactoring 、 View definition function , And built-in command-line tools and Git Version control system [7]. Users can change themes and keyboard shortcuts to personalize , You can also install extensions through the built-in extension store to expand software functions .
VS Code Use Monaco Editor As its underlying code editor .
Vim Can be said to be Python Easy to use IDE.Vim It's an advanced text editor , Designed to provide practical Unix Editor 'Vi' function , Support more and more complete feature sets .Vim You don't have to spend too much time studying , Once you need a seamless programming experience , Then it will Vim Integrate into your workflow .
Eclipse It's very popular IDE, And it has a long history .Eclipse with Pydev Allows developers to create useful and interactive Web application .PyDev yes Eclipse Development Python Of IDE, Support Python,Jython and IronPython Development of .
install Eclipse:
Eclipse It can be found on its official website Eclipse.org Find and download , Usually we can choose what suits us Eclipse edition , such as Eclipse Classic. After downloading, unzip it to the directory you want to install .
Of course, it's in execution Eclipse Before , You must make sure that Java Running environment , That is, you must install JRE or JDK, You can go to (http://www.java.com/en/download/manual.jsp) find JRE Download and install .
install Pydev:
function Eclipse after , choice help-->Install new Software, As shown in the figure below .
Click on Add, add to pydev Installation address of :http://pydev.org/updates/, As shown in the figure below .
Click when finished "ok", Then click on PyDev Of "+", an PyDev The node of , It will take a short time , Get it online PyDev Related kits for , When finished, there will be more PyDev The related packages are in the child nodes , Check them and press next Installation . As shown in the figure below .
After installation , restart Eclipse that will do
Set up Pydev:
After installation , It needs to be set up PyDev, choice Window -> Preferences To set up PyDev. Set up Python The path of , from Pydev Of Interpreter - Python Page selection New
A window will pop up for you to choose Python Installation position of , Choose your installation Python Location of .
When it's done PyDev Just set it up , You can start using .
establish Python Project:
Install well Eclipse+PyDev in the future , We can start using it to develop projects . First create a project , choice File -> New ->Pydev Project
A new window will pop up , Fill in Project Name, And the project storage address , And then click next Complete the project creation .
Create a new Pydev Module:
Projects alone cannot be implemented , Then you have to create a new Pydev Moudle, choice File -> New -> Pydev Module
In the pop-up window, select the file storage location and Moudle Name, Be careful Name Don't have to add .py, It will automatically help us add . And then click Finish Finish creating .
Input "hello world" Code for .
Execution procedure :
After the program is written , We can start executing the program , Find the execute button on the upper toolbar .
Then a window will pop up for you to choose the execution method , Usually we choose Python Run, Start the program .
Sublime Text It's one of the most popular editors among developers , multi-function , Support for multiple languages , And it's very popular in the developer community .Sublime Has its own package manager , Developers can use TA To install components , Plug ins and extra styles , All of these can improve your coding experience .
Sublime Text Beautiful user interface and powerful functions , For example, code thumbnail ,Python Plug in for , Code snippets, etc . You can also customize key bindings , Menus and toolbars .
Sublime Text Its main functions include : Spelling check , Bookmarks , complete Python API , Goto function , Instant project switching , Multiple choice , Multiple windows, etc .
Sublime Text Is a cross platform editor , Support at the same time Windows、Linux、Mac OS X Isooperating system .
Use Sublime Text 2 Plug in extensions for , You can easily create a good Python IDE, The following recommended plug-ins ( You can find more ):
GNU Emacs It's scalable , Custom text editor , Even more features .Emacs The core is Emacs Lisp Parser , But it supports text editing . If you have used Vim, You can try it Emacs.
Komodo Edit It's very clean , Professional Python IDE.
PyCharm By JetBrains Made of Python IDE.
PyCharm Have general Python IDE The function of , such as : debugging 、 Syntax highlighting 、 project management 、 Code jump 、 Smart tips 、 Done automatically 、 unit testing 、 Version control, etc .
in addition ,PyCharm There are also some good features for Django Development , Support at the same time Google App Engine, The coolest thing is ,PyCharm Support IronPython.
PyCharm Official download address :Download PyCharm: Python IDE for Professional Developers by JetBrains
Rendering view :
Wingware Of Python IDE compatible Python 2.x and 3.x, Can combine Django, matplotlib, Zope, Plone, App Engine, PyQt, PySide, wxPython, PyGTK, Tkinter, mod_wsgi, pygame, Maya, MotionBuilder, NUKE, Blender And others Python Frame usage .Wing Support Test Driven Development , Integrated unit testing ,nose and Django The implementation and debugging functions of the framework .Wing IDE It starts and runs very fast , Support Windows, Linux, OS X and Python versi.
PyScripter It's free and open source Python Integrated development environment (IDE).
Eric It's all functional Python and Ruby Editor and IDE, It's using Python Compiling .Eric Based on cross platform GUI tool kit Qt, Integrated with highly flexible Scintilla HTML editor .Eric Including a plug-in system , Allow simple to IDE Functional expansion .