Sublime Text 3 building Python IDE

Source: Internet
Author: User
Tags sublime text



Reference:



https://www.zhihu.com/question/22904994



Http://www.cnblogs.com/luoshupeng/archive/2013/09/09/3310777.html



Description



Environment: WIN10



Software: Sublime Text3






1. Open Sublime Text 3 to install the package control



To use CTRL + ' shortcut keys or open the command line from the View->show console menu, paste the following code:



import urllib.request,os; PF= ' package control.sublime-package '; IPP= sublime.installed_packages_ Path (); Urllib.request.install_opener (Urllib.request.build_opener (Urllib.request.ProxyHandler ()));open ). Write (Urllib.request.urlopen (' http://sublime.wbond.net/' + pf.replace ("'%20 '



If it goes well, you can now see the package settings and the package control two menus under the Preferences menu.



2, Installation Sublimerepl



Ctrl+shift+p Type Install Packages



Wait a moment and then type SUBLIMEREPL to install



With the option Tools->sublimerepl->python, you can see the effect.



3. Keying binding:



Of course, every time through Tools->sublimerepl->python this way is more cumbersome



It will be much easier to bind such an operation to a key like F1.



e.g. open the Preferences->key bindings-user and copy the code:


{"Keys": ["F1"],
"caption": "Sublimerepl:python",
"Command": "Run_existing_window_command", "args":
{"id": "Repl_python",
"File": "Config/python/main.sublime-menu"}}


Then, Ctrl + S is good.






Sublime Text 3 building 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.