Python Sublime development Environment building

Source: Internet
Author: User

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

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.