Recently began to deep into the study of py, the native IDE is very practical, but the coding feel oneself back to the last century 90 's ....
Many web-based solutions to build PY IDE, I chose the sublime to build, because small, easy to edit, beautiful.
Build sublime text on the PY environment on the internet has a lot of tutorials, almost all used to sublimerepl this plugin
After installation also need to set the shortcut keys, on the internet to find such a piece of code:
[ { "keys": ["Ctrl+b"], "com Mand ": Repl_open", "caption": "Python", "id": "Repl_python", "Mnemonic": "P", "args": { "type": "Subprocess", &NB Sp "Encoding": "UTF8", "cmd": ["Python", "-I", "-U", "$f Ile "], " CWD ":" $file _path ", &NBSP ; "syntax": "Packages/python/python.tmlanguage", &NBSP ; &NBSp "external_id": "Python" } }] Here the head not only set the shortcut keys, but also set some other things some netizens follow this setup, compile will report this error: Can ' t open file ' $file ': [Errno 2] No such file or directory file does not exist?? I also reported this mistake when I first started using it. later found that it was himself before writing the Py code, in the sublime to create a new text to edit, has not been saved to press CTRL + B to compile, no wonder that the file does not exist. You should press CTRL + S to enter a file name in the dialog box and then press CTRL + B after saving the specified directory to compile successfully! In addition, when debugging a simple control of a desktop program, you should add a = input () at the end of the code, otherwise the Output window will not show anything.
Sublime Text using SUBLIMEREPL plug-ins & problems encountered