Python IDE
This article recommended several good Python IDE (integrated development environment), compare recommended Pycharm, of course, you can choose the right one for your own Python IDE.
Pycharm
Pycharm is a python IDE created by JetBrains.
Pycharm has the functionality of the general Python IDE, such as: debugging, syntax highlighting, project management, code jumps, smart tips, AutoComplete, Unit testing, versioning, and more.
In addition, Pycharm offers some great features for Django development, while supporting Google App Engine, and, even cooler, Pycharm supports IronPython.
Pycharm Official Download Address: http://www.jetbrains.com/pycharm/download/
View:
Sublinme Text 2
Sublime text has a beautiful user interface and powerful features such as code thumbnails, Python plugins, code snippets, and more. You can also customize key bindings, menus, and toolbars.
The main features of Sublime Text include: Spell checker, bookmarks, full Python API, Goto feature, instant item switching, multiple selection, multiple windows, and more.
Sublime Text is a cross-platform editor that supports operating systems such as Windows, Linux, Mac os X.
With the Sublinme Text 2 plug-in extension, you can easily build a nice Python IDE with several plugins (you can find more):
Codeintel: Auto-complete + Member/method tip (highly recommended)
SUBLIMEREPL: Used to run and debug some programs that require interaction (e.g. program using input ()
Bracket highlighter: Bracket matching and highlighting
Sublimelinter: Code PEP8 format Check
Eclipse+pydev
1. Install Eclipse
Eclipse can be found and downloaded on its official website eclipse.org, usually we can choose the eclipse version that suits you, like Eclipse Classic. After the download is complete, unzip to the directory you want to install.
Of course, before you execute eclipse, you must confirm that you have installed the Java Runtime Environment, that is, you must install the JRE or JDK, and you can find the JRE to download and install it (http://www.java.com/en/download/manual.jsp).
2, Installation Pydev
After running eclipse, select Help-->install new software as shown in.
Click Add to add the Pydev installation address: http://pydev.org/updates/, as shown in.
When finished click "OK", then click Pydev "+", expand Pydev node, to wait a short period of time, let it get pydev from the Internet related kits, when completed will be more than Pydev related kits in the sub-node, tick them and then press next to install. As shown in.
Once the installation is complete, restart Eclipse to
3. Set Pydev
After the installation is complete, you will also need to set the Pydev, select Window---preferences to set the Pydev. Set the path to Python and choose New from Pydev's Interpreter-python page
A pop-up window will let you choose where to install Python and choose where you want to install Python.
After the Pydev is complete, you can start using it.
4. Build Python Project:
After installing the Eclipse+pydev, we can start using it to develop the project. To create a project first, select File--New->pydev Project
A new window will pop up, fill in the project Name and save the address of the project, then click Next to complete the project creation.
5. Create a new Pydev Module
You cannot execute a project with light, and then you must create a new Pydev moudle, select File---New, Pydev Module
Select the file location and Moudle name in the pop-up window, and note that the name does not add. py, it will automatically help us in adding. Then click Finish to finish creating.
Enter the code for "Hello World".
6. Execution procedure
After the program is finished, we can start executing the program and find the button that executes on the toolbar above.
It will then pop up a window that lets you choose how to do it, usually by choosing Python Run and start executing the program.
This is the "Python tutorial" Python IDE content, more relevant content please follow topic.alibabacloud.com (www.php.cn)!