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

vim 有没有这样的插件或是 python 的相关库

  •  
  •   xinali · Jul 27, 2016 · 2465 views
    This topic created in 3714 days ago, the information mentioned may be changed or developed.

    主要用 vim 写代码,平时调试代码除了 print 以外就是 pdb/pudb ,今天突然有个需求,我描述一下我的需求,看看 v2 上有人知道相关的库或是插件吗? 需求:

    1. 可以像 pdb/pudb 那样,在代码中设置set_trace,可以直接在设置处进入调试
    2. 在调试的过程中可以改动源文件,之后可以手动或是自动载入
    2 replies  •  2016-07-28 11:06:01 +08:00
    tracyone
        1
    tracyone  
       Jul 27, 2016
    pyclewn
    tankeco
        2
    tankeco  
       Jul 28, 2016
    1. 在想要断的地方打,适用单进程 from IPython import embed; embed()
    2. IPython 理论上也能改……
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5047 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 08:42 · PVG 16:42 · LAX 01:42 · JFK 04:42
    ♥ Do have faith in what you're doing.