上周蠎快讯 43/2023

为什么 Django 管理员“丑陋”? 原文: Python recap for week 43/2023 - discu.eu 231030 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 231030 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, 文章/教程/嗯哼 Articles, Tutorials and Talks 为什么 Django 管理员“丑陋”? 233 评注 in 2 讨论s (是也乎: …The Django admin was built for Phil. 当初就没打算给最终用户使用… ) ...

2023-10-30 · 4 min · 1645 words · ZoomQuiet

上周蠎快讯 42/2023

被终身禁止在 Meta 上做广告,因为Python… 原文: Python recap for week 42/2023 - discu.eu 231023 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 231023 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, 文章/教程/嗯哼 Articles, Tutorials and Talks 被终身禁止在 Meta 上做广告。因为我教 Python 642 评注 in 2 讨论s (是也乎: Facebook 的 Meta AI 将培训 Python+Panda 的广告, 解析为对珍稀生物的发售广告, 从而对用户处以永久不得在 Meta 上作广告的处罚… ) Textual 有一个新网站 149 评注 in 3 讨论s 我们必须谈谈 Flask 121 评注 in 2 讨论s (是也乎: …正如他们所说,这是压垮骆驼的最后一根稻草 向后兼容的选择对于 Flask 生态来说, 致关生死… ) ...

2023-10-23 · 5 min · 2093 words · ZoomQuiet

蠎周刊(PyCoder)599

遇见guido老爹时 原文: PyCoder’s Weekly - Issue #599 231018 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 231018 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, 如何在 Python 中按字母顺序对 Unicode 字符串进行排序 REAL PYTHON In this tutorial, you’ll learn how to correctly sort Unicode strings in Python while avoiding common pitfalls. You’ll explore powerful third-party libraries implementing the complete Unicode Collation Algorithm (UCA), as well as standard library modules and a few handmade solutions. (是也乎: ) 用 functools 模块可以做 6 件很酷的事情 BOB BELDERBOS The functools module in the standard library has all sorts of useful bits and pieces. This article talks about six of them: caching, writing fewer dunder methods, freeze functions, generic functions, better decorators, and reduce(). (是也乎: 不止, 只是 functools 中的参数顺序都有点儿反直觉要习惯先… ) 用 Stripe、Vue.js 和 Flask 接受付款 MICHAEL HERMAN If you’re building a site to make money, at some point you have to collect money. This tutorial shows you how to build a Flask application that integrates with Stripe for payment processing through the Vue.js framework. (是也乎: Stripe 已经变成海外的支付宝, 当然无法接入银联的… ) Python 荣获 NEC C&C 基金会奖 NEC.COM 探讨/吐糟 Discussions ...

2023-10-18 · 4 min · 1844 words · ZoomQuiet

蠎周刊(PyCoder)598

给 个体企业家/Solopreneur 的建议 原文: PyCoder’s Weekly - Issue #598 231011 Zoom.Quiet(大妈) 用时 13 分钟 完成格式转抄. 231011 Zoom.Quiet(大妈) 用时 37 分钟 完成快译, Python的 tuple 数据类型:通过示例进行深入探讨 REAL PYTHON In Python, a tuple is a built-in data type that allows you to create immutable sequences of values. The values or items in a tuple can be of any type. This makes tuples pretty useful in those situations where you need to store heterogeneous data, like that in a database record, for example. (是也乎: ) 学到的关于用 Python 构建 CLI 工具的知识 SIMON WILLISON In this blog post, Simon covers many of the things he has learned over the years when writing command-line tools in Python. He talks about the different kinds of command line arguments and tools that will help you process them. (是也乎: …一致性就是一切 是的, 嘦发现好的形式, 就一定要坚持应用在所有场景中… …Click 使得构建遵循这些约定的 CLI 工具变得异常简单和高效 好框架已经为你准备好了一切. ) ...

2023-10-11 · 4 min · 1927 words · ZoomQuiet