程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Sublime Text3 code prompt for configuring Python

編輯:Python

1. open Tools -- Compiling system (U)-- New compilation system  

2. Fill in the parameters  

{
"encoding":"utf-8",
"working_dir":"$file_path",
"shell_cmd":"Python Destination address -u \"$file\"",
"file_regex":"^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector":"source:python"
}

Python Destination address obtain :

  1. Hold on first win + R key , The run box appears , Input cmd
  2. appear cmd window , Input python, Get into Python Interactive environment
  3. Input import sys Carry out the guide package , Then the input sys.executable obtain Python Destination address

 

 3. Preservation

When pressing Ctrl+s Key time , Will pop up Save as window , Just choose a place you can remember

 

 4. add to sublime Code prompt function

Get into Preferences -- Plug in control (C)

 

 

  Choose install Package-> Installing a plug-in , A window will pop up

  End


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved