slippers ~ 低代码新思路
原文: PyCoder's Weekly - Issue #491
- 210922 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
- 210922 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.
- 结构模式匹配在 Python 3.10
- BEN HOYT
“Python 3.10, which is due out in early October 2021, will include a large new language feature called structural pattern matching. This article is a critical but (hopefully) informative presentation of the feature, with examples based on real-world code.”
(是也乎:
LISP/Erlang 在 Python 世界的恢复...
)
- 用 Django 和 Python 建立个人日记
- REAL PYTHON
In this beginner-friendly tutorial, you’ll build a personal diary app in Django. You’ll use the strengths of the Django web framework and learn the basics of web development with Python.
- (非) 解开生成器表达式
- BRETT CANNON
What does that look like if you take away the Python “magic” of generator expressions and unravel them down to their core Python semantics?
- Python 反模式: 使用可变的默认值作为参数
- VALI VOICU
A debugging post-mortem.
- 更好的 Pypy JIT 支持自动生成的Python代码
- CARL FRIEDRICH BOLZ-TEREICK
(是也乎:
PyPy 在 CPython 的平行宇宙玩出了自己的道路...
)
- 通过在断点开始 REPL 来调试很有趣
- JULIA EVANS
(是也乎:
断点进入现场 REPL 进行交互探索, 低配版 IDE
)
- Django 4.0 获得内置 Redis Cache 后端
- GITHUB.COM/DJANGO
(是也乎:
没办法了, 只能先 redis 了
)
探讨/吐糟
Discussions
-
quit() , exit() , sys.exit() , os._exit() : 他们的差异以及重要吗?
-
俺以为俺已经安装成功一个狡猾的/Dodgy Pip Package…
(是也乎:
你不能光要你以为. )
文章/教程/嗯哼
Articles, Tutorials and Talks
- 编程语言/ Python 正向前迈出了另一大步
- LIAM TUNG
Python could soon take first place in one more programming language popularity ranking: “Python has never been so close to the number 1 position of the TIOBE index,” writes Paul Jansen, chief of Tiobe software. “It only needs to bridge 0.16% to surpass C. This might happen any time now. If Python becomes number 1, a new milestone has been reached in the TIOBE index. Only 2 other languages have ever been leading the pack so far, i.e. C and Java.”
(是也乎:
超越 JAVA/C++ 的唯一方式就是变成它们
)
- Pass by Reference in Python: 最佳实践
- REAL PYTHON
- course
In this course, you’ll explore the concept of passing by reference and learn how it relates to Python’s own system for handling function arguments. You’ll look at several use cases for passing by reference and learn some best practices for implementing pass-by-reference constructs in Python.
(是也乎:
进度条这种东西只是给人看的...
)
- Pass by Reference in Python: Best Practices
- REV.AI
- sponsor
Rev.ai is the most sophisticated automatic speech recognition in the world. Our speech-to-text APIs are more accurate, easier to use, and have less bias than competitors like Google, Amazon, and Microsoft. Try Rev.ai free for five hours right now →
- 在 Python 中使用 “and” 布尔运算符
- REAL PYTHON
In this step-by-step tutorial, you’ll learn how Python’s “and” operator works and how to use it in your code. You’ll get to know its special features and see what kind of programming problems you can solve by using “and” in Python.
(是也乎:
初中知识点还是有用的.
)
- 用 PhoneNumbers 验证和格式化 Python 中的电话号码
- RUSLAN HASANOV • Shared by Ruslan Hasanov
This article explains how to validate phonenumbers using the phonenumbers library. It also shows how to extract the meta information (such as carrier, geographical) from a phone number.
- 如何用 python 发送电子邮件
- MIKE DRISCOLL
Learn how to send emails with Python using the smtplib and email modules. You’ll also learn how to send attachments.
(是也乎:
讲真, 发送邮件不是问题, 问题是对方为什么敢收.
)
- Django slippers 介绍 : 可重复使用的组件
- MITCHEL CABULOY
Slippers aims to augment Django’s template language with convenience features for writing reusable components.
(是也乎:
低代码新思路: 直接用模板就好
)
- 如何修补 Python 以包括 Ruby 的内联 “if”
- MIGUEL BRITO
What the author learned from adding “else-less” functionality to Python, as inspired by Ruby.
(是也乎:
Python 如此好说话, 以至任何人都可以用任何理由将任何语言习惯形式嵌进来?
)
-
用 Tesseract 和 Python 进行语言翻译和 OCR
- ADRIAN ROSEBROCK
-
在 Python 中用 OpenBSD 的 Pureds 和 Unveil Syscalls
- CHRIS WELLONS
(是也乎:
所以, 从 Apple 开始, 世界真正推动都是 BSD 家族思考成果?
)
(是也乎:
也就是说, docker 并没有真正解决依赖管理问题? 其实, 光解决本地依赖管理并不能真正解决运行时的依赖管理...
比如, 这种经典的环境控制, 在云中并没那么简单能作用...
)
好物/妙品/...
Interesting Projects, Tools and Libraries, Projects & Code
- eacc: Python 中简约/灵活的 Lexer / Parser 工具
- GITHUB.COM/IOGF
(是也乎:
敠一个 Pythomn 解析器, 多亏 Python 内置了语法器, 这样, 可以直接套用了...
)
- python-goto: 函数装饰器/可重写字节码, 在 Python 中启用 GOTO
- GITHUB.COM/SNOACK
(是也乎:
人民如此想念 goto
不惜一切代价...
也要在 Python 中可以 goto.
from goto import with_goto
@with_goto
def range(start, stop):
i = start
result = []
label .begin
if i == stop:
goto .end
result.append(i)
i += 1
goto .begin
label .end
return result
)
-
django-cacheops: 具有自动粒度事件驱动无效 的ORM缓存
- GITHUB.COM/SUOR
-
django-upgrade: 自动升级您的 Django 项目
- GITHUB.COM/ADAMCHAINZ
(是也乎:
所以, 人人都在学习 win10 ?
)
- 通过幼儿园押韵和童话故事学习 Python (Kickstarter)
- SHARI ESKENAS
(是也乎:
嗯哼? 课程也可以上众筹了? 等于先期宣传?
)
- slippers: 在 Django 中构建可重用的组件而不撰写一行Python
- GITHUB.COM/MIXXORZ
(是也乎:
不是, 你不能将模板语言不当开发语言哪...
)
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
-
- 211031 pm
-
- September 25, 2021
-
- September 25, 2021
-
⋅ Introduction to the Python Programming Language (In Persian)
- September 28, 2021
-
⋅ Dominican Republic Python User Group
- September 28 to September 29, 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