Happy Birthday, Python;-)

原文: PyCoder's Weekly - Issue #461

pycoder

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

An exploration of threads, processes, and coroutines in Python, with interesting examples that illuminate the differences between each.

(是也乎:

类似 CAP 法则, 嫑想同时什么好处都有;

通过其它经过考验的高并发能力系统转移矛盾, Py 安心作自己擅长的事儿就好.

)

If you’re using an old version of pip, installing the latest version of a Python package might fail—or install in a slower, more complex way. Learn what the problem is exactly, how to solve it, and what causes it.

(是也乎:

官方广告..

其实, 不用任何 pip 指令就能完备部署的系统才是合格的生产系统.

)

How much should we trust framework benchmarks? And to what extent should they influence your choice of technology?

(是也乎:

嗯哼? 这就是打脸了... 标准化是技术到一个大平台期了, 大家无法作到差异化时...

toto

)

Learn what APIs are and how to consume them using Python. You’ll also learn some core concepts for working with APIs, such as status codes, HTTP methods, using the requests library, and much more.

(是也乎:

Public

其实, 开放数据接口, 最要命的一点就是:

嫑乱变

嘦是一个版本的接口, 无论多不合理, 发布后就没改, 否则, 对应下游系统就囧了.

)

Learn the ins and outs of how Python strings work, with a focus on how text is encoded and represented internally.

(是也乎:

老爹最心塞的一次架构, 导致最后 2->3 无法兼容

)

Upgrade to 3.8.8 or 3.9.2 to avoid the issue.

探讨/吐糟

Discussions

In celebration of Python’s 30th anniversary, Stefane Fermigier has posted the code for Python’s first beta release on GitHub.

(是也乎:

就好象回顾 Bill 第一个 VB 程序一样 )

(是也乎:

其实, 多数情况和技术无法, 看因缘了

)

文章/教程/嗯哼

Articles, Tutorials and Talks

Via interviews with Armin Ronacher, Brett Cannon, and Ewa Jodloski, this piece of technical journalism takes a look at where Python has been, where it is, and where it is going.

(是也乎:

所以: 30 周岁的 Python,“虐”我 20 年

)

This open-source book from Berkeley discusses numerical methods with Python. Numerical methods are essential for engineering and science, making this book a fantastic resource for folks in STEM fields.

Learn about abstract syntax trees (ASTs), some of their use cases, and how to use the ast module in the Python standard library.

(是也乎:

Syntax

Python 之后现代语言,基本都尽可能将语法解析能力内建, 以便大家更加自在的拓展自身.

)

Do you know the initial steps to get your Python script hosted on the web? You may have built something with Flask, but how would you stand it up so that you can share it with others? This week on the show, guest Martin Breuss shares his recent article titled, “Python Web Applications: Deploy Your Script as a Flask App”. David Amos also returns, and he’s brought another batch of PyCoder’s Weekly articles and projects.

(是也乎:

podcast

)

Learn about two of Python’s data structures: dictionaries and arrays. You’ll look at multiple types and classes for both of these and learn which implementations are best for your specific use cases.

(是也乎:

Dictionaries

)

Learn what functional programming is, how it’s supported in Python, and how you can use it in your Python code.

(是也乎:

FP

简单说: 能,但别多用

)

Learn how to use automated tests to verify the correctness of your Django site.

(是也乎:

Django 成为工业化标准关键指标就是测试自动化程度...

)

Learn how to add interactive charts to Django with Chart.js.

(是也乎:

丑, 用点儿专业的图表库吧...

)

好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

License (Modified BSD)

哈?

)

(是也乎:

很有想法, 就看哪个测试框架先吸收了

)

(是也乎:

Freely

比 free 看起来要贵

)

(是也乎:

放心对黄色人种效果一般?

Pg

)

(是也乎:

..现实生活..

最关键的是数据的有效稳定获得, 注意, 为什么是 奶飞 开源的?

奶飞

)

(是也乎:

叕一个 REPL 增强, 其实,这类单品的竞争对手就是 IDE 大厂们;

)

(是也乎:

模型复刻工, 好象也是一种专门工种了.

)

📆🐍 活动/大会

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

(是也乎:

即便是线上的, 一样收费.

)

(是也乎:

以色列, 全球创新热点地区...

)

(是也乎:

反正很早都上 油管了, 随时可以 review, 当然, 这个随时, 随时了很多年都没刷光.

)

DAMA

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

(是也乎:

独创 logging + debug 模块

)

(是也乎:

老司机开新坑, 时隔10年, 沈游侠再次开声, 值得关注:

Bilibili

)

PS:


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

投稿/反馈邮箱:

askdama@googlegroups.com

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


ZoomQuiet/大妈

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

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

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

NN 4285

RPP


Comments



自怼圈/年度番新

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

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

追问

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