PyCoder 535
PEP 695:类型参数语法/草案 原文: PyCoder’s Weekly - Issue #535 220727 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220727 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 用 Django 构建 Flashcards 应用程序 REAL PYTHON Create your own flashcards app to help you to learn a new language. In this step-by-step project, you’ll replicate a spaced repetition system with the Django web framework. If you want to learn a new topic while sharpening your Django and Python skills, this tutorial is the perfect match for you! (是也乎: 嗯哼? 实体结合, 这很适合私人软件发售形式哪… ) 构建一个持久认证的 Python CLI CHRISTOPHER FLEETWOOD When building a command line program that authenticates to a service, you may not want the user to have to enter their password every single time. This article shows you how to manage authentication tokens to make you user’s life easier. The Twitter API is used as the example data source. (是也乎: 嗯哼? 这样安全嘛? ) 告别辣些过时的 Python 库 MARTIN HEINZ • Shared by Martin Heinz It’s time to say goodbye to os.path, random, pytz, namedtuple and many more obsolete Python libraries. Start using the latest and greatest ones instead. (是也乎: 如此决然的嘛? ) PEP 695: 类型参数语法(草案) PYTHON.ORG This Python Enhancement Proposals (PEP) draft describes an improved syntax for specifying type parameters within a generic class, function, or type alias. For example: class ClassA[T: str]: It also introduces a new statement for declaring type aliases. Django 4.1 候选版本 1 可用 DJANGO SOFTWARE FOUNDATION 探讨/吐糟 Discussions ...