㈠ 有在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.运行调试前别忘了保存,要不不会运行修改后的文件