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

Issue 446

Python 正式世界第二 原文: PyCoder’s Weekly - Issue #446 201111 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 201111 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 在 Python 中作 Key-Driver 分析 BRYCE MACHER Take a look at how statistical knowledge plays an important role in answering business questions like “What drives the winningness of candy?” Along the way you’ll learn how to do Key-Driver analysis in Python on a problem that can’t be easily solved with a call to a machine learning library. 用 Python Defaultdict 类型处理缺少的键 REAL PYTHON course In this step-by-step course, you’ll learn how the Python defaultdict type works and how to use it for handling missing keys when you’re working with dictionaries. You’ll also learn how to use a defaultdict to solve problems like grouping or counting the items in a sequence or collection. (是也乎: Defaultdict 每种新类型, 都需要长久的扫盲. ) 机器学习的距离度量 JAIME ZORNOZA Many machine learning algorithmns can be summarized as transforming data to n-dimensional vectors and computing similarity between points by means of some distance metric. This article explores four of these metrics—the Euclidean, Manhattan, Minkowski, and Hamming distances—and how to compute them with Python. 在 Python 中用 LRU 策略进行缓存 REAL PYTHON Caching is an essential optimization technique. In this tutorial, you’ll learn how to use Python’s @lru_cache decorator to cache the results of your functions using the LRU cache strategy. This is a powerful technique you can use to leverage the power of caching in your implementations. (是也乎: Least Recently Used (LRU) strategy 最小最新可用策略? ) ...

2020-11-11 · 4 min · 1508 words · ZoomQuiet

Issue 445

希望初级开发人员知道些什么? 原文: PyCoder’s Weekly - Issue #445 201104 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 201104 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 用 scipy.fft 进行 傅立叶变换 :Python 的信号处理 REAL PYTHON In this tutorial, you’ll learn how to use the Fourier transform, a powerful tool for analyzing signals with applications ranging from audio processing to image compression. You’ll explore several different transforms provided by Python’s scipy.fft module. (是也乎: 专注信号处理的模块, 当然有, 不然那么多大型天线收集到的数据怎么处理? ) Python 后背梗 #4: 如何执行Python字节码 VICTOR SKVORTSOV Here’s a joke you may have heard from Python developers: “Is Python interpreted or compiled? Yes.” When your program runs, the Python source code is compiled to bytecode. This in-depth article explores how bytecode gets executed. 用 SimPy 在 Python 中模拟真实世界的过程 REAL PYTHON course In this step-by-step course, you’ll see how you can use the SimPy package to model real-world processes with a high potential for congestion. You’ll create an algorithm to approximate a complex system, and then you’ll design and run a simulation of that system in Python. (是也乎: SimPy ~ 简单的世界, 用 Python 来模拟物理反应… 缩写太重要了. 马上就没什么合适的3字母缩写给自己项目用了. ) 五个高级 Django 技巧 STEVEN PATE • Shared by Steven Pate Dive into advanced django tips, including Q objects, annotations, prefetch objects, custom querysets, and custom model managers. (是也乎: Q ~ 星际旅行中那个无聊的至高能量智慧生物? ) 为何在导入过程中运行代码不是一个好主意 (以及如何发生) 的分析 CHRIS SIEBENMANN Code that runs when a module is imported is usually a code smell. But sometimes there’s no way around it. (是也乎: 等等, import 不就是用来乱入的? ) 2020 年 Python 开发人员调查已延长至 11月7日 TWITTER.COM/THEPSF 介绍 Pants v2 BENJY WEINBERGER (是也乎: Pants is a scalable build system for monorepos: codebases containing multiple projects, often using multiple programming languages and frameworks, in a single unified code repository. 嗯哼, 只是为什么要用多数语言来开发一个重要的系统? ) ...

2020-11-04 · 4 min · 1968 words · ZoomQuiet

Issue 444

代码隔离在Python 原文: PyCoder’s Weekly - Issue #444 201028 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 201028 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 实践中的 Python: 如何使用 % 运算符? REAL PYTHON In this tutorial, you’ll learn about the Python modulo operator (%). You’ll look at the mathematical concepts behind the modulo operation and how the modulo operator is used with Python’s numeric types. You’ll also see ways to use the modulo operator in your own code. (是也乎: 取余, 其实有很多使用技巧, 可以用在神奇的场景中完成快速计算. ) CPython 加速计划 MARK SHANNON Core contributer Mark Shannon has a plan to increase CPython’s performance fivefold in four stages of updates. (是也乎: 目标是提升五倍. 嗯哼, 这对 Python 是否算是一种内卷行为? ) Python 中的代码隔离 ARTEM GOLUBIN How can you hide, or isolate, Python code in an application from potential bad actors? Learn several methods for doing so and why you should never run thirs party code in the same Python interpreter as your applications. The Real Python 播客 – #32: 新 “Python基础知识” 好书和填补学习道路中的空白 REAL PYTHON Do you have gaps in your Python learning path? If you’re like me, you may have followed a completely random route to learn Python. This week on the show, David Amos is here to talk about the release of the Real Python book, “Python Basics: A Practical Introduction to Python 3”. The book is designed not only to get beginners up to speed but also to help fill in the gaps many intermediate learners may still have. (是也乎: 老朋友, 老程序猿. ) 2020年三季度 Python 软件基金会资深会员名单 PYTHON SOFTWARE FOUNDATION Congratulations to all the new fellows! 探讨/吐糟 Discussions ...

2020-10-28 · 4 min · 1554 words · ZoomQuiet