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 ...

2020-11-25 · 4 min · 1928 words · ZoomQuiet

pythonista-weekly : Pyw 475

欢迎阅读《pythonista周刊》第475期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-475 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): 使用 Datadog 监控你的python指标,日志,集群分析。使用Datadog的应用分析,可以深入任何纬度并且能找到你所需要的信息,来进行动态诊断和快速故障排除。来免费试试14天 ...

2020-11-19 · 4 min · 1767 words · ZoomQuiet

Issue 447

Guido van Rossum (老爹) 去 Microsoft 了 原文: PyCoder’s Weekly - Issue #447 201118 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 201118 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. PyPy: 不费力就能加速 Python REAL PYTHON In this tutorial, you’ll learn how you can use PyPy to improve the speed of your applications. You’ll see how PyPy compares with other Python implementations like CPython and learn about features that you can use to gain significant performance boosts without making changes to your code. (是也乎: ) 在 .NET 5 上运行 Python ANTHONY SHAW Pyjion is an alternative to the CPython runtime that compiles Python to ECMA CIL and uses .NET common language runtime to compile the CIL to machine code. Learn how Pyjion works, how it compares to other Python runtimes, and what the future holds for the project. (是也乎: 为了欢迎老爹, M$ 也是很拼的… ) 在 PyPI 上猎取恶意软件包 JORDAN WRIGHT Jordan Wright installed every package on PyPI to look for malicious content. And he didn’t just inspect code, he actually ran the packages. Brave soul! Learn how he set-up this project and what he learned on his adventure. 用 Python 模拟量子计算 DANTE SBLENDORIO Learn how to use Python for quantum computing with the QuTiP package, including an introduction to qubits and noise in quantum systems. 用 Cython 包装 C++ 第一部分 ANTON ZHDAN-PUSHKIN • Shared by Anton ZHdan-Pushkin Learn how to wrap a C++ library with Cython in order to expose a Python API. (是也乎: 其实是 C 了… ) Guido van Rossum (老爹) 去 Microsoft 了 TWITTER.COM/GVANROSSUM Retirement was “boring.” (是也乎: 无聊也是最强动机 ) Nikola v8.1.2 已发布 GETNIKOLA.COM CircuitPython 6.0.0-Rc.1 已发布 ADAFRUIT.COM (是也乎: 受到 MicroPython 激发, 而创建的叕一个专注嵌入式系统的 Python 发行版. ) 探讨/吐糟 Discussions ...

2020-11-18 · 4 min · 1773 words · ZoomQuiet

pythonista-weekly : Pyw 474

欢迎阅读《pythonista周刊》第474期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-474 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): 使用 Datadog 监控你的python指标,日志,集群分析。使用Datadog的应用分析,可以深入任何纬度并且能找到你所需要的信息,来进行动态诊断和快速故障排除。来免费试试14天 ...

2020-11-12 · 4 min · 1857 words · ZoomQuiet