蠎周刊(PyCoder)588
小书:软件设计实例 原文: PyCoder’s Weekly - Issue #588 230802 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 230802 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, Python 3.12 预览版:更直观、一致的 F 字符串 REAL PYTHON In this tutorial, you’ll preview one of the upcoming features of Python 3.12, which introduces a new f-string syntax formalization and implementation. The new implementation lifts some restrictions and limitations that affect f-string literals in Python versions lower than 3.12. (是也乎: ) Python: 用 cProfile 分析一段代码 ADAM JOHNSON “When trying to improve a slow function or module, it’s always a good idea to profile it. Here’s a snippet for quickly profiling a section of code with Python’s cProfile module.” Python Quirks/ 怪癖 NATHAN A straight-out list of code snippets showing off some of the weird and unexpected behavior of your favorite language. 指导委员会宣布可选 GIL PYTHON.ORG (是也乎: 来了, 终于来了… ) 探讨/吐糟 Discussions NULL… ...