Issue 448
格式化 Python 字符串/越来越复杂. 原文: PyCoder’s Weekly - Issue #448 201125 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 201125 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Synthetic Data Vault (SDV): 用于数据集建模的Python库 ESMAEIL ALIZADEH Creating realistic data for testing applications can be difficult, especially when you have complex data requirements and privacy concerns make using real data problematic. Enter Synthetic Data Vault, a tool for modeling datasets that closely preserves important statistics, like mean and standard variation. Python enumerate(): 简化计数器循环 REAL PYTHON Once you learn about for loops in Python, you know that using an index to access items in a sequence isn’t very Pythonic. So what do you do when you need that index value? In this tutorial, you’ll learn all about Python’s built-in enumerate(), where it’s used, and how you can emulate its behavior. (是也乎: enumerate 是强力模块, 但是名字太复杂, 以至大家下意识的选择无视? ) 可复制和可升级的Conda环境: 带 conda-lock 的依赖项管理 ITAMAR TURNER-TRAURING If your application uses Conda to manage dependencies, you face a dilemma. On the one hand, you want to pin all your dependencies to specific versions, so you get reproducible builds. On the other hand, once you’ve pinned everything, upgrades become difficult. Enter conda-lock. (是也乎: conda 也值得有专用依赖管理工具. ) Python 中的正则表达式和构建正则表达式 REAL PYTHON course In this course, you’ll learn how to perform more complex string pattern matching using regular expressions, or regexes, in Python. You’ll also explore more advanced regex tools and techniques that are available in Python. (是也乎: 为什么真蟒出课这么快? 流水线? ) PyInstaller 4.1 支持了 Python 3.8 and 3.9 PYINSTALLER.READTHEDOCS.IO 探讨/吐糟 Discussions ...