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

pythonista-weekly : Pyw 528

欢迎阅读《pythonista周刊》第528期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-528 翻译:Dustyposa 文章、教程与话题 Experimental APIs in Python 3.10 and the future of trust stores Let’s see the new APIs in action and how their addition could mean a bright future for trust stores in Python. Run a website off a Google Sheets Database, with Hugo 如何利用 Jupyter + Pandas、Hugo 静态网站生成器和 Netlify 主机从托管在 Google Sheets 的数据库中建立一个静态网站。 用Twilio语音和Python Flask创建一个冷战时期的数字站 在本教程中,你将学习如何建立一个 Python Flask 应用程序,将你选择的信息加密成一串数字。然后,你将通过 Python 辅助库使用 Twilio 语音 API 来接受一个来电,并以你能做到的最动听的声音向来电者读出编码信息。 用Python探索谷歌分析的实时数据 充分利用谷歌分析的所有功能和数据,使用其 REST API 和 Python。 Deliver Cleaner, More Secure Code with GitHub Codespaces Developing with GitHub Codespaces? SonarLint allows you to catch quality & security issues early in your Python code. Create your Codespace & install SonarLint for free from the VS Code marketplace. SPONSOR Introduction to GeoPandas: Analysing 311 call data GeoPandas 使得在 Pandas 中处理地理空间数据变得更加容易。它可以帮助你在 Pandas 中进行地理空间操作,并以一种漂亮的方式将你的地图可视化。这篇文章通过可视化旧金山的 311 服务电话,展示了 GeoPandas 的入门是多么容易。 python的map和filter的问题 … and how we might fix it. 用熊猫进行金融市场数据分析 使用Flask、request-oauthlib和pyjwt的SSO Python Jobs of the Week WANTED: Senior Python Developer 倦怠了吗?想和一个优秀的全球团队一起工作?Six Feet Up 需要有5年以上 Python 和 Unix/Linux 部署经验的工程师。具备 Terraform 和 Docker 知识者优先。 ...

2021-12-03 · 3 min · 1219 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