dataclasses 值得使用 原文: PyCoder’s Weekly - Issue #543 pycoder

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

  • 在 Python 中构建 Alexa 等效项
    • ANDREW HERSHY It’s not as difficult as you think to build an AI program that listens to speech and answers questions. You can make the magic happen in an afternoon by leveraging a few Python packages and APIs.
  • Python SQLite 文档案例增补
    • REDOWAN DELOWAR
    • • Shared by Redowan Delowar The official documentation of Python’s sqlite3 module is a little short on examples. This article lists various in-depth examples that cover the most commonly used APIs in the module. (是也乎: 反正还是直接 SQL 最标准了… )
  • 自定义 Python 列表: 从列表继承与 UserList
    • REAL PYTHON In this tutorial, you’ll learn how to create custom list-like classes in Python by inheriting from the built-in list class or by subclassing UserList from the collections module. (是也乎: UserList )
  • Python 3.11.0rc2 发布
    • PYTHON.ORG

探讨/吐糟

Discussions


文章/教程/嗯哼

Articles, Tutorials and Talks

  • Django Favicon 指北
    • MICHAEL YIN Favicons are the little icons you see in your browser tabs. Your web browser looks in very specific places for these icons, and different browsers expect different file names and types. This article runs you through two different ways of getting favicons working in your Django web project. (是也乎: AccordBox 创始人, 人在中国的工程师… )
  • Python 基础/条件逻辑和控制流
    • REAL PYTHON
    • COURSE In this Python Basics video course, you’ll learn how use conditional logic to write programs that perform different actions based on different conditions. Paired with functions and loops, conditional logic allows you to write complex programs that can handle many different situations. (是也乎: Basics Python 基础 是真蟒集团明星好书. )
  • Meta 剥离 PyTorch 基金会
    • BENJ EDWARDS PyTorch is a popular open-source deep-learning framework originally created by Meta/Facebook. Meta has announced that it is creating an independent organization called the PyTorch Foundation that will operate as part of the Linux Foundation, making the framework vendor-neutral. (是也乎: Fb 的 PyTorch 是对抗 Google 关键武器… )
  • 应该知道的 Python 字典操作
    • JACOB FERUS The dict is one of the basic data structures in Python. It is truly at the core of Python and is used everywhere. This article runs you through some common operations on dictionaries, including initialization, merging, comprehensions, and more.
  • 如何在 Python 中替换字符串
    • REAL PYTHON In this tutorial, you’ll learn how to remove or replace a string or substring. You’ll go from the basic string method .replace() all the way up to a multi-layer regex pattern using the sub() function from Python’s re module. (是也乎: String )
  • 用 Python 解释访问控制的演变
    • ADAM BUGGIA
    • • Shared by Adam Buggia Sometimes writing code can help you explore and understand concepts. This article shows a history of access controls in software using Python scripts to re-implement the ideas. (是也乎: 是的, 将事儿作完的结果, 一般都是: 类似: XACML - Wikipedia 一种 DSL 的发布. )
  • 为什么你应该在 Python 中使用数据类
    • GIULIANO PERTILE
    • • Shared by Giuliano Pertile Know what a Data Class is? Do you know how to use one? Know the differences from regular classes? This article answers these questions and more. (是也乎:

dataclasses 内建模块呢… )

  • Python 依赖管理的迷宫
    • NICOLAS FRÄNKEL This article gives an overview of how dependencies are handled within virtual environments and what you can do when transitive dependencies are in conflict. (是也乎: 迷之依赖… )

好物/妙品/

Interesting Projects, Tools and Libraries, Projects & Code


📆🐍 活动/大会

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


DAMA

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

  • Zoom.Quiet’s Chaos42 | Substack
    • 古早:新闻组式写作
    • 欢迎订阅 ACM-O (是也乎: 谈崩了, 之前通过 ACM 会员可以每年 $25 享受 O’REILLY 在线图书馆服务…现在没了 )

PS

PPS

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


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

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

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