PyCoder 489
全新姿势来告知你 Python 代码很糟糕 原文: PyCoder’s Weekly - Issue #489 210908 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210908 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. PEP 668: 外部和Python包管理人员之间的优雅合作 PYTHON.ORG This draft PEP proposes a way for resolving conflicts between OS package managers (e.g. apt) and Python-specific package management tools (e.g. pip). 学习Python需要多长时间? REAL PYTHON How should someone assess whether or not learning Python is a good investment of their time, how long it will take them, and what background factors they need to consider when planning their learning journey? This article attempts to clarify these common beginner questions. (是也乎: 简单说, 42分钟到42年不等… 嗯哼? 对比俺之前的断言 Unknow Unknow 不知不知何 unconscious incompetence 无意识无能 Unknow Know 不知己知何 conscious incompetence 有意识的无能 Know Know 知己已知何 conscious competence 意识能力 Know Unknow 知己不知何 unconscious competence 无意识能力 ) Track Python Application Performance With End-to-End Tracing With Datadog APM DATADOG sponsor With Datadog APM you can debug errors and bottlenecks in your code by tracing requests across web servers and services in your environment. Then correlate between distributed request traces, metrics, and logs to troubleshoot issues without switching tools or contexts. Try Datadog APM free → 如何用 Python 跟踪私人财务 SIDDHANT GOEL This post introduces readers to a workflow for tracking their personal finances using only the Python ecosystem. The end result is extremely focused on data privacy, uses only open-source software, and is 100% self-hosted. (是也乎: 等等, 首先私人资金要多少, 才值得上手段来进行金融管理? ) 全新姿势来告知你 Python 代码很糟糕 NICK DROZD How and why the author added two new linter rules to Pylint: consider-ternary-expression and while-used. (是也乎: 圈复杂度的另类使用…? ) Forgiveness in Python 的成本要求 WALID ZIOUCHE A discussion of EAFP (“Easier to ask for forgiveness than permission”) vs LBYL (“Look before you leap”) code patterns in Python. (是也乎: 嗯哼? 还有这种编程流派的? ) Nuitka 0.6.15 发布 NUITKA DEV BLOG Nuitka is a Python compiler written in Python, compatible with Python2 (2.6, 2.7) and Python3 (3.3–3.9). You feed Nuitka your Python source code and it generates an executable or extension module. (是也乎: 淦…非官方编译器 ) Credit-Card-Stealing, 在 PyPI 上发现的后门包 CHRIS WILLIAMS 探讨/吐糟 Discussions ...