V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
twinsant
V2EX  ›  Python

Python 教程继续更新

  •  
  •   twinsant · 349 天前 · 1276 次点击
    这是一个创建于 349 天前的主题,其中的信息可能已经有所发展或是发生改变。

    https://twinsant.gitbook.io/untitled-1/006.while-xun-huan

    同时感谢上次提意见的小伙伴,意见都已经收录了,在写作过程中会参考

    4 条回复    2023-05-29 23:12:38 +08:00
    yxd19
        1
    yxd19  
       349 天前
    PEP8: The preferred way of wrapping long lines is by using Python’s implied line continuation inside parentheses, brackets and braces. Long lines can be broken over multiple lines by wrapping expressions in parentheses. These should be used in preference to using a backslash for line continuation.

    例子里的折行,用小括号更好些。
    twinsant
        2
    twinsant  
    OP
       346 天前
    zzboat0422
        3
    zzboat0422  
       337 天前
    请问以后会讲点中高级的内容吗?例如并发与并行,协程什么的
    h4ste
        4
    h4ste  
       326 天前
    看着很舒服,希望蚂蚁老师持续更新
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   908 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 20:58 · PVG 04:58 · LAX 13:58 · JFK 16:58
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.