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

pythonista-weekly : Pyw 473

欢迎阅读《pythonista周刊》第473期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-473 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): 获取每周的编程量 一份每周的简报,为程序员提供最好的手工策划的新闻、文章、教程、讲座、工具和库等。 Join For Free ...

2020-11-05 · 4 min · 1699 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

pythonista-weekly : Pyw 472

欢迎阅读《pythonista周刊》第472期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-472 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): 获取每周的编程量 一份每周的简报,为程序员提供最好的手工策划的新闻、文章、教程、讲座、工具和库等。 Join For Free ...

2020-10-29 · 4 min · 1880 words · ZoomQuiet