什么是 Python 之禅? 原文: PyCoder’s Weekly - Issue #581 pycoder

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

IOPCC ~ International Obfuscated Python Code Competition 国际混乱Python代码大赛, 就比谁能写出可以运行, 但是, 人无法看明白的代码; )


探讨/吐糟

Discussions


文章/教程/嗯哼

Articles, Tutorials and Talks

  • 为 Python 提出 Struct 语法
    • BRETT CANNON Bret has been pondering a new keyword that would tackle some of the limitations of data classes while offering syntax improvement over named tuples. This is still in the “what if” stage, but he is willing to write up a PEP if he thinks it will get traction.
  • 使用 Django 4.2 的 async 功能聊天
    • VÍÐIR VALBERG GUÐMUNDSSON Django continues to add features to allow more and more asynchronous programming. This articles shows you how to use Django 4.2’s StreamingHttpResponse, Server-Sent Events, and PostgreSQL LISTEN/NOTIFY to build a chat application.
  • Python 中的迷宫第 1 部分:构建和可视化
    • REAL PYTHON COURSE In part one of this two-part project, you’ll design your maze and represent it in an object-oriented way. You’ll also visualize the maze and its solution using scalable vector graphics (SVG). (是也乎: SVG )
  • 将 Python 项目移植到 Rust
    • JELMER VERNOOIJ Jelmer has been working on porting some of his performance-constrained projects from Python to Rust. This blog post discusses how he’s approaching it and what is and isn’t working. (是也乎: 一位 Haskell 粉丝推荐使用 PyO3 将 Py 模块向 crate 迁移, 不过, 发现很多 Py 特性很难简单的迁移到 Rust… )
  • Python for Finance: Pandas Resample、Groupby 和 Rolling
    • MATT HARRISON When working with time series data such as financial information, the resample, grouping, and rolling features of Pandas can make your life easier. Read on to learn how.
  • 从 Python 运行 Shell 命令的正确方法
    • MARTIN HEINZ
    • • Shared by Martin Heinz These are all the options you have in Python for running other processes - the bad; the good; and most importantly, the right way to do it (是也乎:

…但如果您需要将太多其他程序/命令串在一起,也许,也许您应该只编写 shell 脚本 扎心了, 不过, 的确如此, 否则, shell 没有存在的必要了… )

  • 6 月 1 日开始对 PyPI 实施 2FA
    • PYPI.ORG For those accounts that have two-factor authentication turned on for PyPI uploads, the use of 2FA is now required. Users with 2FA who were only using their password in the past will now have to perform 2FA as well. This is all part of the transition of PyPI to 2FA across the board. (是也乎: 面对巨婴们… )
  • 了解 CPU 有助于加速 NumPy
    • ITAMAR TURNER-TRAURING With a little understanding of how CPUs and compilers work, you can speed up NumPy using Numba, the just-in-time compiler. (是也乎: 所以, CPU 还是比 GPU 强? )
  • Flask 认证指南
    • AUTH0 DEVELOPERS
    • • Shared by Robertino This guide will help you learn how to secure a Flask web application using token-based authentication. (是也乎: 可惜不是 Flask 能力认证, 如果一个项目发展到可以颁发全网认可的能力认证书时… )

好物/妙品/

Interesting Projects, Tools and Libraries, Projects & Code


📆🐍 活动/大会

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


历史上的这周


DAMA

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

      _~-*`~_
  () /  ◶ #  \ ()
    '_   ∧   _'
    \ '--⌄--' /
...act by ferris-actor v0.2.4 (built on 23.0303.201916)

PS

Happy Pythoning!

Copyright © 2023 PyCoder’s Weekly, All rights reserved.

PPS

不觉中蟒周刊快译已经到了第10+2个年头 开始有小伙伴加入承担 pythonisa 周刊的翻译, 从来没提醒过, 可就这么默默坚持下来了… 问为什么: [皱眉]每周新闻资讯 怎么能错过 看看有什么新东西 当有新的发现时: what f**k 还能这样玩? 还有这东西? 每周开彩蛋[吃瓜] 无法同意更多… 很多社区贡献看起来辛苦, 其实受益最多的, 就是主动承担者也. 所以++> 锈周刊 -> Weekly :: China


好文笔,感叹号年度配额: 2/3 投稿/反馈邮箱: [email protected] (邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越…)

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

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)