㈠ 有在sublime text下,調試python的插件嗎
1.有SublimeREPL應該就可以調試了,輸入沒問題,調試的時候記得選 tools->SublimeREPL->python->run current file 或者 pdb current file (pdb 是調試工具,類似gdb)不要用預設的build 或者 ctrl-b2.運行調試前別忘了保存,要不不會運行修改後的文件
㈡ sublime text python 怎麼檢測到解釋器的
1.有SublimeREPL應該就可以調試了,輸入沒問題,調試的時候記得選 tools->SublimeREPL->python->run current file 或者 pdb current file (pdb 是調試工具,類似gdb) 不要用預設的build 或者 ctrl-b 2.運行調試前別忘了保存,要不不會運行修改後.
㈢ 怎麼設置sublime text python路徑
1.有SublimeREPL應該就可以調試了,輸入沒問題,調試的時候記得選 tools->SublimeREPL->python->run current file 或者 pdb current file (pdb 是調試工具,類似gdb) 不要用預設的build 或者 ctrl-b 2.運行調試前別忘了保存,要不不會運行修改後...
㈣ 如何配置python的sublimeREPL
1.在控制台(CTRL+`)中復制鏈接;
import urllib.request,os,hashlib; h =
'' +
''; pf = 'Package
Control.sublime-package'; ipp = sublime.installed_packages_path();
urllib.request.install_opener( urllib.request.build_opener(
urllib.request.ProxyHandler()) ); by = urllib.request.urlopen(
'http://packagecontrol.io/' + pf.replace(' ', ' ')).read(); dh =
hashlib.sha256(by).hexdigest(); print('Error validating download
(got %s instead of %s), please try manual install' % (dh, h)) if dh
!= h else open(os.path.join( ipp, pf), 'wb'
).write(by)
參見網址如下:https://packagecontrol.io/installation#st3
2.管理插件(CTRL+SHIFT+P)中,找到Package
Control:install
package一項,回車後繼續選擇SublimeREPL插件,進行安裝;
3.給REPL設置一個F5的快捷鍵。在preferences下選擇Key
Bindings-user,在其中粘貼如下並保存:
[ {"keys":["f5"],
"caption": "SublimeREPL: Python - RUN current
file",
"command": "run_existing_window_command",
"args":
{
"id": "repl_python_run",
"file":
"config/Python/Main.sublime-menu"
}}
]
㈤ 如何使用Sublime text開發Python
.有SublimeREPL應該就可以調試了,輸入沒問題,調試的時候記得選 tools->SublimeREPL->python->run current file 或者 pdb current file (pdb 是調試工具,類似gdb) 不要用預設的build 或者 ctrl-b 2.運行調試前別忘了保存,要不不會運行修改後..
㈥ sublime text 運行python 為什麼input沒有反應在運行中
1有SublimeREPL應該就可以調試了,輸入沒問題,調試的時候記得選 tools->SublimeREPL->python->run current file 或者 pdb current file (pdb 是調試工具,類似gdb) 不要用預設的build 或者 ctrl-b
2運行調試前別忘了保存!
㈦ 如何在sublime中寫python
1.有SublimeREPL應該就可以調試了,輸入沒問題,調試的時候記得選
tools->SublimeREPL->python->run current file 或者 pdb current
file (pdb 是調試工具,類似gdb)
不要用預設的build 或者 ctrl-b
2.運行調試前別忘了保存,要不不會運行修改後的文件