Python 3.10a3 发布

原文: PyCoder's Weekly - Issue #452

pycoder

  • 201223 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
  • 201223 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.

“COVID-19 has changed all aspects of our lives and is reshaping our future. Nonprofits like the PSF are having to rebuild. With PyCon 2020 and 2021 happening virtually, the PSF is faced with potentially losing $1.2 million USD of expected revenue for those two years. This fundraiser is critically important and the money raised will help the PSF support the tools and initiatives that Pythonistas use everyday.”

(是也乎:

Pythonistas 年度咨文, 值得动员日本分部漫画化.

将今年损失的 120万$ 找回来.

)

Writing your own chess engine is a great way to explore computational complexity and combinatorial aspects of programming. Not to mention it’s pretty fun! Follow along with this reflection on how one coder created his own Chess engine from scratch.

(是也乎:

反正, 没人折腾 go 的.

)

Learn how you can use the Python pickle module to convert your objects into a stream of bytes that can be saved to a disk or sent over a network. You’ll also learn the security implications of using this process on objects from an untrusted source.

(是也乎:

Serializing

等等, 官方已经不推荐用 pickle 了哪..

)

Python is slow. From one perspective, that is. But what are the true bottlenecks in the data engineering/data processing space, and how does Python compare to other technologies when those factors are considered?

(是也乎:

工具的瓶颈并不是工程的, 人思想的瓶颈才一直是.

)

In this step-by-step tutorial, you’ll learn how to prevent freezing GUIs by offloading long-running tasks to worker QThreads in PyQt.

(是也乎:

QThread

其实, 就是 Qt 不得不接管系统的各种职责在完成自我控制.

)

See what changes Python 3.10 will bring

探讨/吐糟

Discussions

NONE

文章/教程/嗯哼

Articles, Tutorials and Talks

Have you wondered how Python manages memory? How are your variables stored in memory, and when do they get deleted? This week on the show, David Amos is here, and he has brought another batch of PyCoder’s Weekly articles and projects. Along with the Real Python article on Python memory management, we also talk about another article about creating even and non-even spaced arrays in Python with np.linspace.

(是也乎:

等等, 上周也说了这事儿? 是系列?

podcast

)

Clustering is a big part of unsupervised machine learning. Since no labels are available, data point must be grouped, or clustered, based on some similarity measure. OPTICS is a clustering algorithm, and in this article you’lol learn how to use it with the Scikit-Learn library.

In this tutorial, you’ll learn about the Python pass statement, which tells the interpreter to do nothing. Even though pass has no effect on program execution, it can be useful. You’ll see several use cases for pass as well as some alternative ways to do nothing in your code.

(是也乎:

无为而治

pass

)

The Mandelbrot set is fractal and infinitely self-similar. Fortunately, you can write a finite Python program to visualize it! Have some fun creating beautiful pictures with this tutorial.

(是也乎:

Mandelbrot

用不到50行代码, 就可实现无限分形的绘制...

只引用了:

from PIL import Image
import colorsys
import math
import os

核心就是 math 标准计算.

)

Learn how to use the numpy-stl library to create STL files that can be loaded into CAD software and used to create 3D printed shapes.

Learn how to add session-based authentication to a Single-Page Application powered by Django and React.

(是也乎:

所以, Django 也开始 Liveshow, 向 Phoenix 学习?

)

Watch out pythons! These dogs are on your trail.

好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

高维数据原本就是人类创造出来的数学工具, 理解这种纯粹理论概念, 可视化可能并不是最好...

)

(是也乎:

等等, 3D对象原先都不是标准 NumPy 矩阵对象?

)

(是也乎:

生物技术原本就是 Python 基本盘

)

(是也乎:

KICKSTARTER

电子书众筹

)

(是也乎:

questionary

在 CLI 中实现菜单以及多选项...

前提是有在一个现代终端中, cmd 就别想了...

)

📆🐍 活动/大会

Events, MeetUp 真的是全球线下活动组织中心

(是也乎:

在国外来个 Pizza 就是过年了

)

(是也乎:

嗯哼?明年的已经定档了?

PyCon中国何时能成功提档到上半年, 证明成熟?

)

PyCon2020中国

(是也乎:

PyCon20深圳 大妈 暖场小单口

并实锤可用神器: NixOS - NixOS Linux

nix 可以跨语言非Docker 将开发和运行时环境精确锁定.

以及 PyCon19广州 的坑终于填上了:

基于Django的无代码Admin + 低代码开发框架

)

DAMA

❤️ Happy Pythonic ;-(大妈私人无责任播报)

None

PS:


好文笔,感叹号年度配额: 2/3

投稿/反馈邮箱:

askdama@googlegroups.com

(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)


ZoomQuiet/大妈

就是四处 是也乎,( ̄▽ ̄) 的那个大妈:

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)

as 创始组织者:
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)

NN 4236

RPP


Comments



自怼圈/年度番新

DU21.7
关于 ~ DebugUself with DAMA ;-)

关注公众号, 持续获得相关各种嗯哼:
zoomquiet

追问

任何问题, 随时邮件提问可也:
askdama@googlegroups.com


蟒营®编程思维提高班Python版

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 扫描预约入群, 学员每满 42 人即启动新一期训练营 ;-)
  • 101camp21.7
  • + 任何问题, 随时邮件提问可也:
    askdama@googlegroups.com