Python 3.11 新特性来了...
原文: PyCoder's Weekly - Issue #516
- 220316 Zoom.Quiet(大妈) 用时 13 分钟 完成快译
- 220316 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.
- 如何用 Python 编写友好的 CLI
- XIAOXU GAO
How to write user-friendly Command Line Interface applications and an overview of several of the popular CLI libraries: argparse, Click, Typer, Docopt, and Fire.
(是也乎:
小高, 一位人在荷兰的 MM...
)
- Cython 足堪大用也
- PETER BAUMGARTNER
Cython is a superset of of Python designed to give C-like performance. Ever wanted to learn the basics? This article shows you how to get started.
Scout APM: Built for Developers, By Developers Scout APM is an application performance monitoring tool designed to help developers find and fix performance issues quickly. Scout will tie bottlenecks to source code so you can quickly pinpoint and resolve performance abnormalities with ease. Give Scout a try with a 14-day free trial today → SCOUT APMSPONSOR
- Python 3.11 预览/更好的错误消息
- REAL PYTHON
Python 3.11 will be released in October 2022. This article explores the more precise error messages now available in the latest alpha release.
(是也乎:
带来更好的 error 信息
)
-
- CPYTHON DEV BLOG
-
EuroPython 2022 Call for Proposals
- EUROPYTHON.EU
探讨/吐糟
Discussions
- Python 是学习自动化测试的好语言吗?
(是也乎:
Yes and Not
毕竟 Python 不仅仅能组织测试, 一但上手, 就忍不住折腾越来越多的东西, 慢慢的, 就不是自动化测试, 而是自动化编程了...
)
- 在哪里可以找到志同道合的程序员交谈而不必外出?
(是也乎:
书里?
)
文章/教程/嗯哼
Articles, Tutorials and Talks
- 值得知道的 Python 内建函数
- TREY HUNNER
Python has dozens of built-in functions, the standard library has hundreds more, and then third-party libraries make the whole list unknowable. How do you know what to learn early on? This article highlights the important functions every developer should know.
(是也乎:
每年都有唠叨, 其实所有内建函式都应该记清楚咯, 这毕竟是 老爹 当年千挑万选出来最实用的工具函式了... 不多, 就25 个:
应该都知道的:
print
len
str
int
float
list
tuple
dict
set
range
可能不知道的:
sum
enumerate
zip
bool
reversed
sorted
min
max
any
all
推荐得知道的:
dir
vars
breakpoint
type
help
)
- 在 Python 中迭代时修改 Iterables
- REDOWAN DELOWAR
If you try to mutate a sequence while traversing through it, Python doesn’t complain, but that doesn’t mean it did what you want. This article explores the problems of modifying iterables and how to work around it.
- Python 中的 pyc 文件和 pycache 文件夹是咩?
- JOHN LOCKWOOD
What are those weird extra files for and what do you do about them? This article explains pyc files, where they live, and how to ignore them in your development environment, and how to clean up after them.
(是也乎:
这真的是一个被无视的好问题...
)
- 用 Python 探索斐波那契数列
- REAL PYTHON
- COURSE
In this video course, you’ll 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.
(是也乎:
)
- 了解 Django/ 安全性和 Django
- MATT LAYMAN
- • Shared by Matt Layman
You want to protect your users’ privacy, right? The goal is noble and users demand it, but how do you do it? This article, looks at some areas that improve the security of your application.
- 如何设计更好的 REST API
- RONALD BLÜTHL
15 language-agnostic, tips on REST API design, including: good naming conventions, how to specify dates, versioned APIs, authentication keys, pagination, and when to use which HTTP methods.
- 值传递/引用和赋值
- RODRIGO GIRÃO SERRÃO
Different programming languages use different ways of passing arguments. By value? By reference? What does Python do? Pass-by-assignment.
- 用 Python 的计数器计数
- REAL PYTHON
- COURSE
Counting several repeated objects at once is a common problem in programming. Python offers a bunch of tools and techniques you can use to approach this problem. However, Python’s collections.Counter class provides a clean, efficient, and Pythonic solution.
(是也乎:
)
好物/妙品/...
Interesting Projects, Tools and Libraries, Projects & Code
- asciimatics: 跨平台 TUI 和 ASCII 动画包
- GITHUB.COM/PETERBRITTAIN
(是也乎:
之前介绍过...
)
- fastapi-events: FastAPI 的事件控制库
- GITHUB.COM/MELVINKCX
- • Shared by Melvin Koh
(是也乎:
FastAPI 宇宙开始形成...
)
-
- GITHUB.COM/AFROISALREADYINU
-
- GITHUB.COM/BCZSALBA
(是也乎:
淦...关键是窗口可以自然拖动/拉伸的...
)
- skillmap: 生成技能图树图
- GITHUB.COM/NIYUE
(是也乎:
使用 .toml 来表述, 基于 Graphviz 来绘制, 走心了
)
- WhyProfiler: Jupyter Notebooks 的 CPU 分析器
- GITHUB.COM/ROBUSTA-DEV
(是也乎:
这种可视化用心了, 不过, 代码一长也一样并没什么意义...
)
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
⋅ Heidelberg Python Meetup March 16, 2022
- ⋅ Weekly Real Python Office Hours Q&A (Virtual)
- March 16, 2022
(是也乎:
和当年 ThoughtWorks 一样, 将公司开放日作成一门生意了...
)
-
- March 17, 2022
-
- March 17, 2022
- 爱尔兰
-
- March 17 to March 18, 2022
-
⋅ Karlsruhe Python User Group (KaPy)
- March 18, 2022
-
⋅ Python Web Conference 2022 (Virtual)
- March 21 to March 25, 2022
DAMA
❤️ Happy Pythonic ;-(
大妈私人无责任播报
)
- Zoom.Quiet’s Chaos42 | Substack
- 古早:新闻组式写作
- 欢迎订阅
PS:
PPS:
不觉中蟒周刊快译已经到了第10个年头
去年开始有小伙伴加入承担 pythonisa
周刊的翻译,
从来没提醒过, 可就这么默默坚持下来了...
问为什么:
[皱眉]每周新闻资讯 怎么能错过
看看有什么新东西
当有新的发现时:
what f**k 还能这样玩? 还有这东西?
每周开彩蛋[吃瓜]
无法同意更多
...
很多社区贡献看起来辛苦,
其实受益最多的,
就是主动承担者也.
好文笔,感叹号年度配额: 1/3
投稿/反馈邮箱:
askdama@googlegroups.com
(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)
ZoomQuiet/大妈
就是四处 是也乎,( ̄▽ ̄)
的那个大妈:
私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
PyChina (订阅号: PyChinaOrg)
本地社区:
GDG珠海 (订阅号: GDG-ZhuHai)
TFUG珠海 (订阅号: ZH_TFUG)
Comments