Sublime Text 3 configuration python IDE

Source: Internet
Author: User
Tags sublime text



Python is increasingly favored by "procedural apes". The rapid development model, the Concise code format, the massive expansion, this undoubtedly has laid the foundation for the Python fiery.



"Ax", a powerful IDE to help developers effectively manage, edit, run engineering code. Python's development IDE compares common Eclipse + Pydev, jetbrains pycharm[charges], and so on, the divine Code editing software Sublime text 3 because of its powerful code-editing can and convenient large-scale plug-in is known.



Sublime Text 3 can also be configured as a Python IDE, and after a small series of pro-test, the effect is good oh "ordinary people I do not tell him ^_^." Okay, let's do it, sublime. Text 3 Configure the Python IDE steps as follows:






1. Of course you need Sublime text 3 can Sublime Text3 download , as for the authorization code or Baidu bar.



2. Install the package control plug-in



Click the Show console item on the View menu or use the shortcut key "Ctrl +" to open the console and paste the following code:




Import urllib.request,os;pf='packagecontrol.sublime-package'; ipp=sublime.installed_ Packages_path (); Urllib.request.install_opener (Urllib.request.build_opener (Urllib.request.ProxyHandler ())); open (Os.path.join (IPP,PF),'wb'). Write (Urllib.request.urlopen ('http:// sublime.wbond.net/'+pf.replace (','%20' ) )). Read ())

 





After the installation is complete, you can see the package Setting and two options under the Preferences menu. If you have some words, the installation is successful!



3. Install the plug-ins needed for Python development



Click on the package Control to select the Install assembly and install the following plugins in turn



A. Sublimecodeintel



B. PEP8



C. sublimerepl



4. Every run need to click Sublimerepl->python, it is too much trouble, you can configure shortcut keys



Select Package Control,sublimerepl,setting-user and then paste the following code and save





 
[ {"keys":["f6"],
"caption": "SublimeREPL: Python - RUN current file",
"command": "run_existing_window_command", "args":
{
"id": "repl_python_run",
"file": "config/Python/Main.sublime-menu"
}}
]


5. This is the right step! Lift your hijab to "sublime Python".






Sublime Text 3 configuration python IDE


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.