Configuring the Python Runtime Environment for sublime Text 2(2013-09-11 11:36:17)
reproduced
Tags: python |
Category: Technology-related |
Sublime Text 2 As a lightweight editor, characterized by distinctive, easy to use, more and more popular people's favorite, I personally recently began to use up. At the same time, I was learning about python in recent times, so I started using ST2 to write Python, so I summed up the configuration method a little bit. 1. Click Preferences on the toolbar to open the Browse Packages. Locate Python in the Open folder and open the folder. Locate the file Python.sublime-build and open it. 2. Modify the following: {"cmd": ["Python", "-U", "$file"], "path": "F:/program files/python27"," File_regex ":" ^[]*file \ "(...) \ ", line ([0-9]*)", "selector": "Source.python"} to modify the contents of path into the compiler's installation directory. Save the code and the Ctrl+b will run.
Sublime and Python--path