++x 和 --x 在 Python
原文: PyCoder's Weekly - Issue #490
- 210915 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
- 210915 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.
- 实践中应用 PEP 8
- JAKE EDGE
“Two recent threads on the python-ideas mailing list have overlapped to a certain extent; both referred to Python’s [PEP 8] style guide, but the discussion indicates that the advice in it may have been stretched further than intended.”
- Python 中专家如何 Log
- GUILHERME LATROVA
Learn what good logging is, and how you should implement it in Python. Comes with meaningful examples and rules of thumb on what and how to log.
(是也乎:
专业log姿势
)
- Python新闻/ 2021年8月的新增内容是什么?
- REAL PYTHON
August 2021 was an eventful month in the world of Python. In this article, you’ll get up to speed on everything that happened in the past month, including three new Python releases.
(是也乎:
)
- 解开异步为循环
- BRETT CANNON
Python’s async for statement allows convenient iteration over asynchronous iterators. In this article you’ll see how async for loops work behind the scenes.
- 介绍 Pedalboard: Spotify 的 Python 音频效果库
- SPOTIFY ENGINEERING BLOG
探讨/吐糟
Discussions
The core team behind the popular Python autoformatter Black did an “ask me anything” (AMA) thread on Reddit.
文章/教程/嗯哼
Articles, Tutorials and Talks
- Python 是种不良编程语言
- MICHAEL MORENO
- opinion
“I’ll say it again: Python is a bad programming language, and the only reason it’s so popular today is because Google pushed it so hard in the first decade of the 2000s.” Related discussion of this controversial article on Hacker News.
(是也乎:
Google push golang 去了哈?
)
- 在 Python 中使用数据类
- REAL PYTHON video
One new and exciting feature that came out in Python 3.7 was the data class. A data class is a class typically containing mainly data, although there aren’t really any restrictions. With data classes, you don’t have to write boilerplate code to get proper initialization, representation, and comparisons for your objects.
Data Elixir: Data Science Newsletter Data Elixir is an email newsletter that keeps you on top of the tools and trends in Data Science. Covers machine learning, data visualization, analytics, and strategy. Curated weekly with top picks from around the web → DATA ELIXIRsponsor
- 完成小型 Python 项目的优点
- REAL PYTHON
- podcast
Are you a beginner or intermediate Python programmer who has made it through some of the fundamentals? Have you tried to tackle a big project but got stuck and frustrated? Completing some small projects might be the answer. This week on the show, author Al Sweigart.
(是也乎:
)
- 并行 Python 代码运行常见方法
- MICHAEL GALARNYK
- • Shared by Michael Galarnyk
This article reviews some common options for parallelizing Python code, including multiprocessing, specialized libraries, ipython parallel, and ray.
(是也乎:
Ray 的硬广, 不过, 并行计算的前提是计算任务是原子化的
)
- Fibonacci 序列的 Python 指南
- REAL PYTHON
Explore the Fibonacci sequence in Python, which serves as an invaluable springboard into the world of recursion, and learn how to optimize recursive algorithms in the process.
- Python 中压缩和存档文件的各种姿势
- MARTIN HEINZ
- • Shared by Martin Heinz
How to compress, decompress, and manage archives and files with Python in all the formats you might ever need.
(是也乎:
其实调用 7zip 就都可以作到.
)
- 在 Python 中为 AWS Lambda 函数进行写作单元测试
- EMILY SHEA
(是也乎:
嗯哼,
)
- 如何用 scrapy 抓取网站
- MATT BASS
(是也乎:
叕一篇基础教程
)
- R vs Python: R 和 Python 之间的实际区别是什么?
- SUSAN JOHNSON
(是也乎:
语言名称越短,越高级嘛?
)
-
- MIKE DRISCOLL
-
FastAPI With Async SQLAlchemy, SQLModel, 以及 Alembic
- MICHAEL HERMAN
- • Shared by Michael Herman
(是也乎:
此时, 使用 FastAPI 团队全家桶就对
)
好物/妙品/...
Interesting Projects, Tools and Libraries, Projects & Code
- openskill.py: 实现翁林贝叶斯排名
- GITHUB.COM/OPENDEBATES
(是也乎:
)
- plusplus: 在 Python 中启用 ++x 和 --x 表达式
- GITHUB.COM/BORZUNOV
(是也乎:
这是想象的伦丧, 还是人性的扭曲?
即不直观,又不逻辑, 只是省力...
)
- huracan: 开源飞机发动机仿真 Python 包
- GITHUB.COM/ALOPEZRIVERA
(是也乎:
航空发动机模拟器... 这家伙... Su27 走起
)
- klara: Python 和静态分析库的自动测试用例
- GITHUB.COM/USAGITONEKO97
(是也乎:
嚓...这是真神器, 不过, 生成的代码是否真的能合理覆盖所有逻辑分叉;
)
- Python 独立构建: 独立/高度便携的 Python 分发
- PYTHON-BUILD-STANDALONE.READTHEDOCS.IO
(是也乎:
WoW 真神器敠一发.
)
-
gamesbyexample: 在 Python 和其他语言中的基于文本的游戏集合
- GITHUB.COM/ASWEIGART
-
- GITHUB.COM/MATTEOGUADRINI
- • Shared by Matteo Guadrini
(是也乎:
)
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
-
- September 17 to September 21, 2021
-
⋅ PyWeek 32 Game Jam (Virtual)
- September 19 to September 20, 2021
DAMA
❤️ Happy Pythonic ;-(
大妈私人无责任播报
)
(是也乎:
独创 logging + debug 模块
)
(是也乎:
老司机开新坑, 时隔10年, 沈游侠再次开声, 值得关注:
)
PS:
PPS:
不觉中蟒周刊快译已经到了第9个年头
去年开始有小伙伴加入承担 pythonisa
周刊的翻译,
从来没提醒过, 可就这么默默坚持下来了...
问为什么:
[皱眉]每周新闻资讯 怎么能错过
看看有什么新东西
当有新的发现时:
what f**k 还能这样玩? 还有这东西?
每周开彩蛋[吃瓜]
无法同意更多
...
很多社区贡献看起来辛苦,
其实受益最多的,
就是主动承担者也.
好文笔,感叹号年度配额: 2/3
投稿/反馈邮箱:
askdama@googlegroups.com
(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)
ZoomQuiet/大妈
就是四处 是也乎,( ̄▽ ̄)
的那个大妈:
私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
PyChina (订阅号: PyChinaOrg)
本地社区:
GDG珠海 (订阅号: GDG-ZhuHai)
TFUG珠海 (订阅号: ZH_TFUG)
Comments