Django 4.0 Beta 1 发布

原文: PyCoder's Weekly - Issue #496

pycoder

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

What are the programming idioms unique to Python? This course is a short overview for people coming from other languages and an introduction for beginners to the idiomatic practices within Python. You’ll cover truth values, looping, DRY principles, and the Zen of Python.

(是也乎:

虽说, Python 是多范式语言, 用什么习惯来撰写 Python 代码都可以, 不过, 最好还是用 Pythonic 形式来.

Idiomatic

)

“During the annual Python core development sprint we held a meeting with Sam Gross, the author of nogil, a fork of Python 3.9 that removes the GIL. This is a non-linear summary of the meeting.”

  • Analyze Code-Level Application Performance Across Your Entire Environment With Datadog APM

    • DATADOG
    • sponsor Datadog’s distributed tracing and APM generates flame graphs from real requests, enabling you to visualize app performance and pinpoint hard-to-reproduce problems in your production code. Without switching tools, you can pivot to related logs and metrics for full context. Try Datadog APM free →
  • PEP 660: 基于 PyProject.Toml 的版本可编辑安装 (Wheel Based)

    • PYTHON.ORG

“Now that PEP 517 provides a mechanism to create alternatives to setuptools, and decouple installation front ends from build backends, we need a new mechanism to install packages in editable mode.”

(是也乎:

.ini .py .ymal ... 现在是 .toml

都是 SGML 的徒子徒孙...

)

Check out the work-in-progress development release notes for more details.

(是也乎:

还好 Django 没学 Chrome, 否则, 今天至少是 v104 了

)

PyCon US 2022 takes place in Salt Lake City, Utah from April 27, 2022 to May 5, 2022.


探讨/吐糟

Discussions

“I like lambdas.”

(是也乎:

格式化字串 )


文章/教程/嗯哼

Articles, Tutorials and Talks

“In Python as in other programming languages, this grand principle encourages software architects to escape from Object Orientation and enjoy the simpler practices of Object Based programming instead.”

In this step-by-step tutorial, you’ll learn how Python’s “not” operator works and how to use it in your code. You’ll get to know its features and see what kind of programming problems you can solve by using “not” in Python.

(是也乎:

Boolean

)

In this tutorial, you’ll learn how and when to use the len() Python function. You’ll also learn how to customize your class definitions so that objects of a user-defined class can be used as arguments in len().

(是也乎:

len

没事儿 len() 一下就好

)

“Converting macros and static inline functions to regular functions makes these regular functions accessible to projects which use Python but cannot use macros and static inline functions.”

(是也乎:

卫生宏的另一个思路?

)

Spacestills is a Python program for viewing NASA TV still frames. It’s a learning project based on the PySimpleGUI GUI framework.

(是也乎":

PySimpleGUI/Tk/... NASA 一向关注效率而不是美观

)

(是也乎:

淦...这不会拖累 Pg 的引擎嘛?

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

TravisCI 好久不见. )

(是也乎:

Mathematical ... Wolframe 经济支柱

)

(是也乎:

再简单的交互也比没交互要好?

)

(是也乎:

嗯哼? 真,钢需

)

(是也乎:

DearPyGui

发现1.0 了, 叕一个 GUI 框架, 对桌面 Python 从来没放弃.

)


📆🐍 活动/大会

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

(是也乎:

活久见...真的在继续

)


DAMA

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

(是也乎:

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

Bilibili

)


PS:

PPS:

不觉中蟒周刊快译已经到了第9个年头

去年开始有小伙伴加入承担 pythonisa 周刊的翻译, 从来没提醒过, 可就这么默默坚持下来了...

问为什么:

[皱眉]每周新闻资讯 怎么能错过 
看看有什么新东西 
当有新的发现时:
    what f**k 还能这样玩? 还有这东西?
    每周开彩蛋[吃瓜]

无法同意更多... 很多社区贡献看起来辛苦, 其实受益最多的, 就是主动承担者也.


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

投稿/反馈邮箱:

askdama@googlegroups.com

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


ZoomQuiet/大妈

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

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

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


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:
Zoom.Quiet’s Chaos42 | Substack


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


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

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 任何问题, 随时邮件提问可也:
    askdama@googlegroups.com
-->