ST3新建py2和py3的build system
生活随笔
收集整理的這篇文章主要介紹了
ST3新建py2和py3的build system
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
win7上同時(shí)裝了py2和py3,在ST3中執(zhí)行需要分別新建各自的build system:Tools->Build System->New Build System
py2:
{"cmd": ["C:/Python27/python2.exe", "$file"],"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)","selector": "source.python","env": {"PYTHONIOENCODING": "utf-8"} }py3:
{"cmd": ["C:/Python35/python3.exe", "-u", "$file"],"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)","selector": "source.python","env": {"PYTHONIOENCODING": "utf-8"} }?
轉(zhuǎn)載于:https://www.cnblogs.com/lucien06/p/6489993.html
總結(jié)
以上是生活随笔為你收集整理的ST3新建py2和py3的build system的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: sql limit 的用法
- 下一篇: Codeforces 777E:Hano