原文: PyCoder's Weekly - Issue #383

realpython


In this detailed Python tutorial, you'll explore the CPython source code. By following this step-by-step walkthrough, you'll take a deep dive into how the CPython compiler works and how your Python code gets executed.

(是也乎:

大图...

结合多年前的源代码鉴赏就知道, 源代码, 想看一定能看懂, 就好比, 建筑师通过复杂计算/设计/思考/施工, 完成的建筑, 虽然无法简单的透视一切, 但是, 依然可以通过各种行为, 快速理解真正的设计点是什么...

)

"It's sometimes claimed that not only should a function have a single entry point, but that it should also have a single exit. One could argue such from sense of mathematical purity. But unless you work in a programming language that combines mathematical purity with convenience [... ] that point seems moot to me."

(是也乎:

良心经验, 多退出点, 也是俺写代码时, 经常干的事儿, 但是, 从没完备思考过, 为什么, 以及有什么问题和好处...

)

This is an automated Python 3 support table for the most popular packages. 360 out of the 360 most downloaded packages on PyPI now support Python 3.

(是也乎:

不是俺敏感哪, 这批包和 360 真的没什么关联嘛?

)

"Don't constrict yourself, Python 2 slithers off into the sunset in 2020."

(是也乎:

放心, 有的场景中, Python 1.* 都在用呢

)

Fun!

(是也乎:

说是任何程序哈...

)

讨论

Discussions

(是也乎:

除了自动赚钱, 其它真心不值得自豪吧?

)

(是也乎:

讨论一点也不激烈...

想想也是, 如果 Python 基金会认同这点的话, 早就去开发自己的浏览器了.

)

文章,教程和嗯哼

Articles, Tutorials and Talks

Learn about Python lambda functions and see how they compare with regular functions and how you can use them in accordance with best practices.

(是也乎:

其实, 最好是别用

)

"Have you ever needed to mock out a third party service for use in a large testing environment? I recently did, and I used Starlette, a new async Python web framework, to do it. See what Starlette offers!"

"We use Python to visualize insider trading as reporting in SEC Form 4 filings. Our goal is find patterns to create signals for buy/sell decisions and general risk monitoring of investment portfolios."

Learn how to handle spreadsheets in Python using the openpyxl package. You'll see how to manipulate Excel spreadsheets, extract information from spreadsheets, create simple or more complex spreadsheets, including adding styles, charts, and so on.

(是也乎:

openpyxl

被迫用 Excel 的人都是折翼天使...

)

Use SMOTE and the Python package, imbalanced-learn, to bring harmony to an imbalanced dataset.

Learn how to build a scalable image hashing search engine using OpenCV, Python, and VP-Trees.

An overview of how the Gunicorn WSGI HTTP server works internally.

(是也乎:

Gunicorn 实在是 WSGI 首选服务容器

)

Part 5 of Guido's series on PEG parsers.

(是也乎:

感觉首次见 gitlab 的软文...

)

(是也乎:

等等, 数据科学不包含 ML 的?

)

(是也乎:

除了情怀还能说什么?

)

好物

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

专注将字典对象, 变成表格 )

(是也乎:

刚需, 混合云, 不如说 AWS 最小功能集, 为无缝迁移到其它云提前准备.

)

(是也乎:

叕是嵌套字段...

)

(是也乎:

Why not 类型工具, 反正, Py2 是不应该判定出来的, P3 各个版本又没太大区分, 其它 PyPy/Cython 之类又没可以判定标准...

)

(是也乎:

云太多了, 以至可以自动判别了...

)

(是也乎:

高速将字典变成 md/rst 等等结构化文本中的表格

)

(是也乎:

良心之作 -> 自动检验文档字串中的声明和实际代码是否对等.

)

(是也乎:

叕一个 SSG, 并不真的无配置, 而且 theme 也不多...

example

)

(是也乎:

GCP only, 只是将 所有依赖的封装在 Docker 中, 暴露出一个控制注册脚本而已,

但是, 创意不错.

)

(是也乎:

立志义务为 Django 框架追加类型检查能力的组织....

)

📆🐍 活动/大会

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

DAMA

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

第3期已经上线, 为期6周, 190918 报名截止

(是也乎:

Do With Py

总是永远有人问这个问题... 当然, 这个问题任何一个技术社区都有人在问...

其实, 本质上并不是对应技术是否有什么能力, 而是相反...

)

Jobs:

必须 Pythonic 相关

...

是也乎

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

NN 3753


Comments