推荐学习书目
› 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
css3
V2EX  ›  Python

sublimeRepl 运行 Python 时,假死怎么办

  •  
  •   css3 · Sep 3, 2018 · 2590 views
    This topic created in 2945 days ago, the information mentioned may be changed or developed.

    一运行就未响应了,过个几十秒,就会把所有的结果全显示出来(应该是一行一行慢慢输出出来的)

    有 input()交互,必须得用 sublimeREPL,直接 ctrl+b 运行不会出现这种问题,但不支持 input()交互

    PythonAnswer
        1
    PythonAnswer  
       Sep 3, 2018 via iPhone
    控制台跑
    ku360517703
        2
    ku360517703  
       Sep 3, 2018
    大量输出有性能问题, 建议写日志到文件查看。或控制台
    也试过一些 hack 源码的方法,没见产生作用。
    css3
        3
    css3  
    OP
       Sep 4, 2018
    @ku360517703 是大量输出的时候假死,看来是没有解决办法了,google 找了一个办法,半行半不行的样子,不会假死了,但是程序出错了一直卡在那里,错误也不输出 ,反正就一直卡在那里

    https://github.com/wuub/SublimeREPL/issues/469
    bingoAI
        4
    bingoAI  
       Sep 4, 2018
    sublimetext 添加 terminal
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2727 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 02:05 · PVG 10:05 · LAX 19:05 · JFK 22:05
    ♥ Do have faith in what you're doing.