Original address: http://blog.csdn.net/wenxuansoft/article/details/38559731
PYCHARMT such as the IDE, although the use of cool, but after all, in the speed, resources or more unpleasant.
Using the IDE is nothing but an easy and convenient way to do things, especially if I have a bad memory.
Some of the areas that the IDE makes easy to say are:
1. Syntax color highlighting
2. Automatic grammar completion
3. Convenient debugging function
Now with the sublime text this artifact, with the plug-in can also be more convenient to build a convenient IDE-like debugging environment of the python.
1, you can now install sublime text 3, and then install the package control, this thing can make you easy to install plug-in packages. Installation method online One mound.
2, install Sublimecodeintel plug-in, can realize automatic grammar completion function.
Installing AutoPEP8 can automatically normalize python.
3, focus on the installation of SUBLIMEREPL plug-in, install open python file, the layout switch to 2-line Search, select the menu:
The following PDB debugging interface is then present.
Then you can output a variety of PDB commands for debugging. Like what:
(Pdb) b to #在31行建立断点
Breakpoint 1 at C:\work\code\workspace\test\sqlalchemy\docopt.py:31
(PDB) R #运行到断点处
> c:\work\code\workspace\test\sqlalchemy\docopt.py (+) <module> ()
M=myclass ()
(PDB) #在这个命令行下就可以执行当前上下文的python
Specific PDB command Baidu to go.
Use sublime text to build a Python debugging environment