1: Install python version 2.75: (My installation path:D:\Python27)
2: Configure environment variables for Python under window :
Environment Variables , advanced system Settings , properties , computer
Locate Path in the system variable and edit it.
In the last add pytohn installation path:;D: \python27
3: Verify python installation and configuration Success :
1: go to the command line:
2: Input:python
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/75/EE/wKioL1ZFVyXRBoX4AAAJ9imdiCg756.png "title=" python In cmd "alt=" Wkiol1zfvyxrbox4aaaj9imdicg756.png "/>
Installation and configuration success
4: Install Sublime:
: HTTP://WWW.SUBLIMETEXT.COM/3
and install , run the Python program directly using ctl+b
5: Configure sublinetext 3
1: Open sublinetext 3
2: Press Ctrl + ' bring up console
3: In Terminal input:
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 ())
and enter, restart subline
6: Install the plugin:
1: Open sublinetext 3
2: Press ctl+shift+p to open the package Control:
3: Enter install to Select the install package
4: Input:jedit, install (python auto -fill)
5: Input:sublimerepl, support raw_input/input
6:raw_input test:
Method 1: Open the file, press ctl+shift+p, enter sublimepython-run
Method 2:tools->sublimeperl->python->python RUN Current file
(If you have any questions, please correct them;
Personal Course Homepage: http://edu.51cto.com/lecturer/index/user_id-1744433.html
)
This article is from the "Programming Life" blog, so be sure to keep this source http://huangyg.blog.51cto.com/1744433/1712420
Python Sublime development Environment building