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

为什么pexpect中没有exp_continue方法

  •  
  •   ry_wang ·
    saipanno · Dec 16, 2012 · 4395 views
    This topic created in 5031 days ago, the information mentioned may be changed or developed.
    在某些时候,exp_continue完全是不可或缺的,比如下面这段多密码测试的情景(password是一个存放密码的数组):



    不知道各位有没有在pexpect如何实现上述代码的思路.
    测试一个密码spawn一次?太傻了.

    谢谢.
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2892 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 03:04 · PVG 11:04 · LAX 20:04 · JFK 23:04
    ♥ Do have faith in what you're doing.