推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
fyl00
V2EX  ›  Python

SublimeREPL 怎么在同一个窗口调试当前.py 文件?

  •  
  •   fyl00 · Oct 24, 2014 · 11407 views
    This topic created in 4250 days ago, the information mentioned may be changed or developed.
    用Run Current File调试py文件的时候,每次都要在新建一个REPL窗口。
    有什么办法能在同一个窗口调试么。

    快捷键我已经写成这样了:
    {"keys":["f5"],
    "caption": "SublimeREPL: Python - RUN current file",
    "command": "run_existing_window_command",
    "args":
    {
    "id": "repl_python_run",
    "file": "config/Python/Main.sublime-menu"
    }},
    9 replies    2017-06-13 17:18:55 +08:00
    staticor
        1
    staticor  
       Oct 24, 2014
    zoowii
        2
    zoowii  
       Oct 24, 2014
    View里的水平分屏感觉用起来还好啊
    lixia625
        3
    lixia625  
       Oct 25, 2014
    alt shift 2
    fyl00
        5
    fyl00  
    OP
       Oct 27, 2014
    @zoowii 每次调试都会新建一个窗口,看到越来越多的标签栏你不会心烦么,orz
    zoowii
        6
    zoowii  
       Oct 27, 2014
    @fyl00 不用每次新建啊,新建一个ipython标签页,然后发送当前文本的内容过去
    ricciapril
        7
    ricciapril  
       Aug 15, 2016
    @zoowii 能具体讲下如何实现的么?多谢!
    ricciapril
        8
    ricciapril  
       Aug 15, 2016
    楼主,请问该问题解决了么?我现在遇到同样的问题,找了很久没有解决办法。能否共享下。多谢!
    daisy2017
        9
    daisy2017  
       Jun 13, 2017
    alt+shift+2
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2872 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 08:51 · PVG 16:51 · LAX 01:51 · JFK 04:51
    ♥ Do have faith in what you're doing.