Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of configuring automatic associative python in Sublime Text3

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the method of configuring automatic association python in Sublime Text3, which is very detailed and has certain reference value. Friends who are interested must finish reading it!

1. Install Package Control

Open the console with the shortcut key ctrl+ `or View > Show Console, then paste the corresponding Python installation code Sublime Text 3 installation code and enter 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 (os.path.join (ipp, pf), 'wb') .write (urllib.request.urlopen (' http://sublime.wbond.net/' + pf.replace ('','% 20')) .read () restart Sublime Text 3 if you see package control in Perferences- > package settings, the installation is successful

two。 The method of installing plug-ins with Package Control

Press Ctrl+Shift+P to call up the command panel, enter install to call up the Install Package option and enter, and then select the plug-in to be installed in the list, as shown in the figure

Enter Anaconda and install

3. Add in preferences = > package setting = > package contrl = > setting-user

4. Select the Settings-Default option and search for python _ interpreter

5. Modify configuration

Select the Settings-Users option and type the following json data. Save and restart ST3.

{"python_interpreter": "C:/Python27/python.exe", "suppress_word_completions": true, "suppress_explicit_completions": true, "complete_parameters": true,}

The next step is to write python code in sublime and there will be prompts.

The above is all the contents of this article "how to configure Sublime Text3 to automatically associate python". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report