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

while 1 : 这句是什么意思?

  •  
  •   thebeatlesguru · Apr 22, 2013 · 5900 views
    This topic created in 4909 days ago, the information mentioned may be changed or developed.
    请教各位大侠,看到一个代码中有这句话,不是很明白其意思,我改成了while 2:,执行结果和1一样,更迷糊了。
    3 replies  •  1970-01-01 08:00:00 +08:00
    chaojie
        1
    chaojie  
       Apr 22, 2013
    while true的意思
    46fo
        2
    46fo  
       Apr 22, 2013
    非0即真
    thebeatlesguru
        3
    thebeatlesguru  
    OP
       Apr 22, 2013
    ok,明白了,谢谢。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2535 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 12:11 · PVG 20:11 · LAX 05:11 · JFK 08:11
    ♥ Do have faith in what you're doing.