pythonista-weekly : Pyw 525

欢迎阅读《pythonista周刊》第525期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-525 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): Get Your Weekly Dose of Programming A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers. Join For Free 新闻 PSF 2021 End of the year fundraiser! PSF 启动了年终募捐活动。有两种捐赠方式。1.直接向PSF捐款,或者2.购买一个打折的PyCharm许可证,所有收益都归PSF。对PSF的财政捐助有助于维持支持更大的Python社区的项目。 ...

2021-11-13 · 4 min · 1996 words · ZoomQuiet

PyCoder 498

和 Guido 一起讨论加速 Python 原文: PyCoder’s Weekly - Issue #498 211111 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 211111 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 银行 Python 的口述历史 CAL PATERSON Interesting read about the strange world of Python, as used by big investment banks: “Bank Python implementations are effectively proprietary forks of the entire Python ecosystem which are in use at many (but not all) of the biggest investment banks.” CPython Developer 每周报告, November 1–7 ŁUKASZ LANGA “Python 3.9.8 got released this week! At this point in the 3.9 lifecycle this should be a relatively uneventful release. Instead, it took us a few days of work to get it out of the door. I still managed to squeeze in 51 closed PRs and even organized a meeting between the core developers and Daan Leijen, the author of mimalloc.” 用 Python 和 typer 构建 CLI-TODO 应用程序 REAL PYTHON Follow along this step-by-step project to create a to-do application for your command line using Python and Typer. While you build this app, you’ll learn the basics of Typer, a modern and versatile library for building command-line interfaces (CLI). (是也乎: Typer ~ CLI 版 FastAPI, 值得享用. ) Python 软件基金会: 2021 年度筹款结束 PYTHON SOFTWARE FOUNDATION “The PSF launched its end-of-the-year fundraiser. There are two ways to donate: 1. donate directly to the PSF or 2. purchase a discounted PyCharm license, with all proceeds going to the PSF. Contributing to the PSF financially helps sustain programs that support the larger Python community.” Python 3.9.8 and 3.11.0a2 可用ed CPYTHON DEV BLOG 探讨/吐糟 Discussions ...

2021-11-11 · 4 min · 2001 words · ZoomQuiet

pythonista-weekly : Pyw 524

欢迎阅读《pythonista周刊》第524期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-524 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): Cheat sheet: 9 Python security best practices Most Python frameworks like Django have debugging switched on by default. Set DEBUG = False in production to prevent information leaks, plus learn 8 more tips in the Python security cheat sheet. ...

2021-11-06 · 3 min · 1391 words · ZoomQuiet

PyCoder 497

zipapp 值得认真用卟? 原文: PyCoder’s Weekly - Issue #497 211103 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 211103 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 并发可行性解决方案 JONATHAN CORBET “The end result thus appears to be a GIL-removal effort that has a rather better-than-average chance of making it into the CPython interpreter. That would be cause for a lot of rejoicing among Python developers. That said, a change this fundamental is unlikely to be rushed into the CPython mainline; it will take a lot of testing to convince the community that it is ready for production use.” (是也乎: COOL, 不过, 等等, 为什么一定要可视化? ) Django 模板: 对 Tags and Filters 实施习惯 REAL PYTHON Django templates have many built-in tags and filters to render content, but they may not meet all your needs. This tutorial covers how to write Django custom template tags and filters, including simple tags, inclusion tags, block tags, and different types of filters. (是也乎: ) Python’s zipapp 模块: 构建可执行的ZIP应用程序 REAL PYTHON In this step-by-step tutorial, you’ll learn what Python Zip applications are and how to create them quickly using the zipapp module from the standard library. You’ll also learn some alternative tools you can use to build this kind of application manually. (是也乎: 万千 VB 程序猿 最爱的 Python 模块了 ) Infix 运算符 (Python 配方) ACTIVESTATE.COM Python has the in operator and it would be nice to have additional infix operator like this. This recipe shows how (almost) arbitrary infix operators can be defined in vanilla Python: x |op| y or x «op» y (是也乎: ACTIVESTATE 公司免费公开运营几十年的 Recipe 应该是最早最成功的贴吧以及QA 社区了 ) PSF 社区服务奖项提名 PYTHON.ORG Do you know of a deserving individual who should be considered for a PSF Community Service Award? The PSF is accepting nominations for the Q4 2021 Community Service Award. 探讨/吐糟 Discussions ...

2021-11-03 · 4 min · 1768 words · ZoomQuiet