PyCoder 503

RIP:effbot/Fredrik Lundh 原文: PyCoder’s Weekly - Issue #503 211215 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 211215 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 特性小回顾 BRETT CANNON “To help those who wish for the ‘good old days’ of some older Python version, I thought I would write down a bunch of the major language features that were added in Python in reverse chronological order. Start from top and work your way down until you come across a feature you aren’t willing to give up. The Python version which has that feature is the version you would be okay going back to.” (是也乎: 这几年 Python 中追加的特性是过去30年追加的总合还要多吧? ) 在 Heroku 上托管您的 Django 项目 REAL PYTHON COURSE In this course, you’ll learn how to host your Django project in the cloud for free and with little hassle. You’ll use Heroku, which takes the burden of infrastructure management off your shoulders. (是也乎: Heroku 真良心, 俺5年前部署的应用, 一直免费低频使用中, 除了唤醒时, 要等一下, 其它时刻都正常, 要知道是 Py 2.7.10 的脚本… 只是, 本身是闭源的, 规模运行时效能真比不上其它公有云, 作为 练习平台足够了 ) PyPI 用户反馈总结 PYTHON SOFTWARE FOUNDATION “The PSF conducted a series of three surveys to identify key user requirements that have not been addressed so far. We used this round of surveys to engage with the PyPI community and understand ways to support community needs better. This post summarizes the feedback we have received and key decisions we have made based on the feedback.” (是也乎: 注意: 使用 blogspot 发布. ) Python 核心开发者 Fredrik “effbot” Lundh 去世 GUIDO VAN ROSSUM “Fredrik was an early Python contributor (e.g. Elementtree and the re module) and his enthusiasm for the language and community were inspiring for all who encountered him or his work. He spent countless hours on comp.lang.python answering questions from newbies and advanced users alike.” (是也乎: 呜呼: PIL 创始人走了, 这算是白发人送黑发人嘛? Guido 老爹专门邮件悼念. R.I.P ) pytest-7.0.0rc1 预发行版 已推出 PYTEST.ORG Python in Visual Studio Code – December 2021 Release SAVANNAH OSTROWSKI (是也乎: 是的, 对 Python 2.7 有专门支持 ) 探讨/吐糟 Discussions ...

2021-12-15 · 6 min · 2541 words · ZoomQuiet

PyCoder 502

CPython 3.10.1 发布 原文: PyCoder’s Weekly - Issue #502 211208 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 211208 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Advent of Code: 用 Python 解决你的难题 REAL PYTHON Advent of Code is an online advent calendar that shares new programming puzzles each day from December 1st to the 25th. In this tutorial, you’ll learn why solving programming puzzles can be beneficial and how you can get started with Advent of Code using Python. (是也乎: ) 各种语言的错误信息风格指南 CARL FRIEDRICH BOLZ-TEREICK “PyPy has been trying to produce good SyntaxErrors and other errors for a long time. CPython has also made an enormous push to improve its SyntaxErrors in the last few releases. These improvements are great, but the process feels somewhat arbitrary sometimes. To see what other languages are doing, I asked people on Twitter whether they know of error message style guides for other programming languages.” (是也乎: PyPy 比 CPython 更加关注这事儿 ) Python 中的二进制/字节和位运算符 REAL PYTHON COURSE In this course, you’ll learn how to use Python’s bitwise operators to manipulate individual bits of data at the most granular level. With the help of hands-on examples, you’ll see how you can apply bitmasks and overload bitwise operators to control binary data in your code. (是也乎: ) Django 4.0 发行说明 DJANGO SOFTWARE FOUNDATION New built-in RedisCache backend, forms are now rendered using the template engine to enhance customization, Python standard library’s zoneinfo is now the default timezone implementation. (是也乎: zoneinfo ? 不是 UTC ? ) A Message From the PSF’s Outgoing Executive Director PYTHON SOFTWARE FOUNDATION CPython 3.10.1 发布 CPYTHON DEV BLOG (是也乎: 从 2.X 到 3.X 用了10年, 看起来, 从 3.X 到 4.X 用不了5年… ) 探讨/吐糟 Discussions ...

2021-12-08 · 5 min · 2129 words · ZoomQuiet

PyCoder 501

咱..应该停止庆祝无能 原文: PyCoder’s Weekly - Issue #501 211201 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 211201 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python/后绑定(Late-Bound)默认参数值 JAKE EDGE Python supports default values for arguments to functions, but those defaults are evaluated at function-definition time. A proposal to add defaults that are evaluated when the function is called has been discussed at some length on the python-ideas mailing list. Python 用 Dash 数据可视化 REAL PYTHON COURSE In this course, you’ll learn how to build a dashboard using Python and Dash. Dash is a framework for building data visualization interfaces. It helps data scientists build fully interactive web applications quickly. (是也乎: ) Rats in Doom: 啮齿类动物的新型 VR 设置 VIKTOR TÓTH A novel VR setup developed for rodents that lets rats play Doom. Uses Python for the controller interface. (是也乎: 真耗在游戏中… ) CPython Dev in Residence: 周报, November 22–28 ŁUKASZ LANGA A short review of try/except, exception handling in asyncio today, and the future of asyncio error handling. 探讨/吐糟 Discussions ...

2021-12-01 · 4 min · 1820 words · ZoomQuiet

PyCoder 500

500期了…从第一期开始没中断快译 原文: PyCoder’s Weekly - Issue #500 211124 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 211124 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python 新闻: 10 月有哪些新变化? REAL PYTHON The Python community gave a warm welcome to Python 3.10 in October 2021. In this article, you’ll catch up on some big events that happened this past month, including Python being named TIOBE’s most popular programming language. (是也乎: ) 请忽略所有 Web 性能测试/包括这篇 MIGUEL GRINBERG • Shared by Caleb Hattingh ”[…] measuring web application performance is incredibly complex […] In this article you can see the results of my effort in understanding and fixing this benchmark, re-running it, and finally arriving at a shocking revelation.” (是也乎: 这才是一视同仁, 所有性能评测都不值得看, 包含作者自己这篇 ;-) 是的, 没有 Django ) 用 Python AI 构建神经网络进行预测 REAL PYTHON COURSE In this step-by-step course, you’ll build a neural network from scratch as an introduction to the world of artificial intelligence (AI) in Python. You’ll learn how to train your neural network and make accurate predictions based on a given dataset. (是也乎: 一个 step by step 的开始很重要. ) 用协议在 Python 中引入静态鸭子类型 DAAN DEBIE Protocols in Python provide a nice way to use duck typing while still having some static type guarantees. You can define contracts for your functions without caring too much about the actual types of your inputs. Minimax Algorithm and Alpha-Beta Pruning RODRIGO GIRÃO SERRÃO • Shared by Rodrigo Girão Serrão The minimax algorithm and alpha-beta pruning can be used to implement AIs to play games. This tutorial will teach you about the minimax algorithm and alpha-beta pruning, from a beginner’s perspective. PyPI 用户反馈: PyPI 团队功能 PYPI TEAM The PyPI team is seeking feedback from teams using PyPI. If you use PyPI as a team, consider responding to the (short) poll form at the link. (是也乎: 只有一个原意: 恢复 pip search 并持续加速, 至少和中国高铁同步 ) Django 4.0 Release Candidate 1 发布 DJANGO SOFTWARE FOUNDATION CPython Dev In-Residence 周报, November 15–21 ŁUKASZ LANGA 探讨/吐糟 Discussions ...

2021-11-24 · 5 min · 2379 words · ZoomQuiet