Initially wanted to use wingide for Python development learning, but wingide needed a fee. So on-line search the next wingide crack method, through the anti-compilation Python method to crack, results mac under the latest version of the Wingide cracked failure, had to find another way.
Before learning HTML to see Sublimetext, but then directly using the Mac TextEditor, did not consider. These two days directly search the next sublime, found a good word of mouth, so come to try. Many places in the text refer to other people's links, the basic has been quoted.
http://www.sublimetext.com/download sublimetext2, no fee required.
1, Package control installation: Https://packagecontrol.io/installation on its official website to find the installation command code, 2 and 3 of the command is not exactly the same. Open Sublimetext2, CTRL + ' Open console, paste 2 command code, enter to complete the installation.import urllib2,os,hashlib; h = ' eb2297e1a458f27d836c04bb0cbaf282 ' + ' d0e7a3098092775ccb37ca9d6b2e4b7d '; pf = ' Package Control.sublime-package '; IPP = Sublime.installed_packages_path (); Os.makedirs (IPP) if not os.path.exists (IPP) else None; Urllib2.install_opener (Urllib2.build_opener (urllib2. Proxyhandler ())); by = Urllib2.urlopen ('http://packagecontrol.io/' + pf.replace (', '%20 '). read (); DH = hashlib.sha256 (by). Hexdigest (); Open (Os.path.join (IPP, PF), ' WB '). Write (by) if DH = = h else None; Print (' Error validating download (got%s instead of%s), please try manual install '% (DH, h) if DH! = H Else ' please rest Art Sublime Text to finish installation ')After the installation is complete, turn off the sublimetext and turn it on again (be sure to restart!!) ) To view preferences, if the package settings appears, the installation is successful. 2, install Pylint. Reference Link: http://www.cnblogs.com/game-testing/p/4344347.html A, install PIP, the purpose is to install Pylint:sudo easy_install pip B, install Pylint, In the terminal: sudo pip install pylint3, install Pylinter A, in sublime, use the shortcut key ctrl+shift+p, enter the install package in the input box, select and enter. b, enter pylinter in the new input box, carriage return C, after the installation is complete, set To Open the configuration document, configure the content to refer to the linkhttp://www.open-open.com/lib/view/open1369960978459.html text color size configuration refer to link http://www.cnblogs.com/dolphin0520/ archive/2013/04/29/3046237.html shortcut Command+b You can run a Python program and remember to add a suffix. py when you save a new file in your Mac, otherwise the newly created file is the default plaintext format (plain text).
Python configuration for Mac under SUBLIMETEXT2