PyCoder 541
47+值得知道的 Py 字符串方法 原文: PyCoder’s Weekly - Issue #541 220907 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220907 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 创建 Python 代码完成器和更多 AST 项目 REAL PYTHON PODCAST How does a code completion tool work? What is an Abstract Syntax Tree, and how is it created in Python? How does an AST help you write programs and projects that inspect and modify your Python code? This week on the show, Meredydd Luff, co-founder of Anvil, shares his PyCon talk, “Building a Python Code Completer.” (是也乎: AST 好东西 ) 值得知道的 Python 字符串方法 TREY HUNNER • Shared by Trey Hunner Python’s strings have 47 methods. That’s almost as many string methods as there are built-in functions in Python! Which string methods should you learn first? (是也乎: 和 Perl 类似, 字符串, 是日常最多应对场景,值得深入支持… ) Python 中的龙曲线 🐍 GIULIANO PERTILE • Shared by Giuliano Pertile A Dragon Curve is a kind of fractal image. This article introduces you to the math behind the curve and how to draw one using a Python script. (是也乎: 龙式分形…supper cool. ) 探讨/吐糟 Discussions ...