Python 3.9 超酷新功能?
原文: PyCoder's Weekly - Issue #441
- 201007 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
- 201007 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.
- Python 3.9 超酷新功能
- REAL PYTHON
- course
In this course, you’ll explore some of the coolest and most useful features in the newly released Python 3.9. You’ll learn how Python 3.9 makes it easier to work with time zones, dictionaries, decorators, and several other techniques that will make your code cleaner and more efficient.
(是也乎:
真蟒 现在手也快了,
不过, 3.9 以及之后的语言新特性, 除了提高 IDE 依赖之外, 好象并没绝对必要的改进, 现在想来 go 语言的特性接纳原则和当初 guido 坚持的很相似...
)
- 用 Nvidia Jetson Nano 2GB 和 Python 构建人脸识别系统
- ADAM GEITGEY
The Nvidia Jetson Nano is a single board computer similar to a Raspberry Pi. The Jetson Nano really packs a punch, however, thanks to its onboard Nvidia Maxwell GPU.
- 展开丰富的比较运算符
- BRETT CANNON
In another installment of his “Unravelling” series, Brett Cannon takes a deep dive into rich comparison operators.
- Python 上下文管理器的魔力
- TOWARDSDATASCIENCE.COM
- • Shared by Martin Heinz
Learn the ins and outs of context managers, including some recipes that will make your code more readable, reliable, and less error prone
- 在 Streamlit 中创建游戏
- JOEL GRUS
Streamlit is a platform used to quickly create data apps. So, why not use it to make games?
(是也乎:
快速生成 CLI 下的单词游戏...
)
- Python Insider: Python 3.9.0 现已发布而且已可以测试 3.10.0a1
- CPYTHON DEV BLOG
(是也乎:
如果 Python 3 系列相互间也不兼容, 那真的是蛋痛了.
)
- Poetry 1.1.0 发布
- PYTHON-POETRY.ORG
(是也乎:
显式运行时环境管理工具, 居然撑下来了, 果然没有赞助就没有未来...
)
-
- PYTHON SOFTWARE FOUNDATION
-
- PYTHON.ORG
-
- REAL PYTHON
- sponsor
With Python Basics you’ll go from beginner to intermediate Python knowledge with a clear, concise, and practical curriculum. Get a 27% launch discount until Thursday night →
(是也乎:
虽然是赞助商, 但是, 这书是 真蟒 这么多年所有关键文章的集成, 实在是诚意满满...
)
探讨/吐糟
Discussions
- Cython 为什么不受欢迎?
(是也乎:
虽然台湾小姐姐 Mosky 们对 Cython 有长期推广, 但是, 我们好容易学会 Python, 是绝对难以忍受重新肥到 C 的世界中的.
)
- 并非所有介于0和1之间的浮点数都是 random() 的可能返回值
- RAYMOND HETTINGER
(是也乎:
所以, 想用随机数, 还是得找靠谱的随机源...
)
文章/教程/嗯哼
Articles, Tutorials and Talks
- Python 3.9: 等您尝试的不错新功能s
- REAL PYTHON
In this article, you’ll explore some of the coolest and most useful features in the newly released Python 3.9. You’ll learn how Python 3.9 makes it easier to work with time zones, dictionaries, decorators, and several other techniques that will make your code cleaner and more efficient.
(是也乎:
毕竟开创 Python 世界的老爹退休了, 接任者但凡是有点儿追求, 就一定要往 Python 中塞些自己的东西, 至于这东西对 Python 有什么推动, 再说了.
)
- 用新版本 Pip 解决程序包依赖性
- REAL PYTHON
- podcast
If you use Python, then you probably have used pip to install additional packages from the Python package index. Part of the magic behind pip is the dependency resolver, and there is a new version of it in the latest version of pip. This week on the show, we have Sumana Harihareswara and Georgia Bullen, who have been working on the recent releases of pip. Sumana is the project manager for pip, and Georgia has been working on pip’s user experience (UX).
(是也乎:
Pip 进来版本变化非常快....
但是, 依然跟不上生产项目中真实需求问题...
)
- 100+ 多个Python和数据科学项目, 适用于各种程序员
- THE CODEX TEAM
A huge list of project ideas to inspire your imagination!
- 用 Python 解决平衡指数问题
- JOHN LEKBERG
Given an array of numbers, the equilibrium index problem requires you to find the index, if one exists, where the sum of every number to the left of the index is equal to the sum of every number to the right of the index. Try and come up with your own solution before checking out the article!
- Python’s map(): 无循环处理可迭代
- REAL PYTHON
In this step-by-step tutorial, you’ll learn how Python’s map() works and how to use it effectively in your programs. You’ll also learn how to use list comprehension and generator expressions to replace map() in a Pythonic and efficient way.
(是也乎:
函式计算, 也就是语法糖, 并不一定提高代码可读性, 也不一定提高计算效能, 但是, 逼格是一定提高的.
)
- Watchman: 监视 Python 库生态系统的依赖冲突
- ADRIAN COYLER
- • Shared by Alex Mitelman
Dependency management is hard. Learn what sort of problems exist in Python and how you can find and report, and even predict dependency conflicts with Watchman.
(是也乎:
依赖管理的困难, 不过是多个开发团队之间的协调问题, 用工具来自动监控, 除了增加又一个警告外, 并无多大意义...
这其实, 也是中台概念的提出原因;
大家不要用外界乱来的各种模块, 统一使用内部中台接口就好.
)
- Hijack 以帮助客户
- MATTLAYMAN.COM
- • Shared by Matt Layman
When customers report their thorniest problems and all of your diagnostic tools have failed you, how can you help? Learn how to swoop in and save the day with some help from django-hijack.
- 适用于 Python 的 Playwright: 可靠的 Web 端到端测试
- ARJUN ATTAM
Writing cross-browser end-to-end tests for web applications isn’t always easy. Playwright, a new open source tool from Microsoft, aims to fix that.
- Django Stripe 订阅
- NIK TOMAZIC
- • Shared by Michael Herman
Learn how to handle payments in your Django project using Stripe.
好物/妙品/...
Interesting Projects, Tools and Libraries, Projects & Code
- checkov: 在构建期间防止云配置错误
- GITHUB.COM/BRIDGECREWIO
(是也乎:
嗯哼? 配置错误如何防止? 这等于在出生时防止 DNA 缺陷一样.
)
-
- GITHUB.COM/GOOGLE-RESEARCH
-
- GITHUB.COM/MICROSOFT
(是也乎:
反正不保证稳赚
)
- django-hijack: 登录并作为指定用户工作
- GITHUB.COM/ARTERIA
(是也乎:
django 中的 su 指令
)
-
waybackpy: 用于 Internet Archive 的 Wayback Machine API 的 Python 库和 CLI
- GITHUB.COM/AKAMHY
-
playwright-python: Playwright 测试和自动化库的 Python 版本
- GITHUB.COM/MICROSOFT
-
stacksort: 通过从 StackOverflow 盲目执行代码对列表进行排序/ 受 XKCD 无效排序的启发.
- GITHUB.COM/BUCKLEY-W-DAVID
(是也乎:
XKCD 当初选择这个名字,纯粹因为, 没人使用, 毕竟是个读不出来的错误单词; 但是, 硬凭借作者无限想象力, 变成了全球知名品牌.
所以, 品牌并不神奇, 背后的苦工才是神奇根本.
)
- checksec.py: Python 中的 Checksec 工具
- GITHUB.COM/WENZEL
(是也乎:
验证二进制文件安全性的简单工具...
生存不易, 互联网中可下载的一切都值得怀疑...
)
📆🐍 活动/大会
Events, MeetUp 真的是全球线下活动组织中心
- ⋅ PyCon Estonia 2020 (Virtual)
- October 8 to October 9, 2020
DAMA
❤️ Happy Pythonic ;-(
大妈私人无责任播报
)
蟒营®编程思维提高班 Python版/13期已发布
时间规划:
- 报名截止 2020.10.19
- 正式开课 2020.10.25
- 课程结束 2020.12.06
10.1 特价: 2642元/人
当期优惠: 10.10 前报名
,再减 800元
- 老学员或是其它有效推荐, 再惠 500元
- 在校生, 再优惠 1000元
- 出示学生证即可
- 复读 5折
- 组团:
- 4人及以上(建议直接联系 蟒营®开
绿色
通道.)
- 4人及以上(建议直接联系 蟒营®开
(注意: 以上优惠政策不可叠加;-)
报名流程: 微信扫码报名→付学费→入微信群
详情 => 蟒营®编程思维提高班 Python版/ 第13期
PS:
好文笔,感叹号年度配额: 1/3
投稿/反馈邮箱:
askdama@googlegroups.com
(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)
ZoomQuiet/大妈
就是四处 是也乎,( ̄▽ ̄)
的那个大妈:
私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
PyChina (订阅号: PyChinaOrg)
本地社区:
GDG珠海 (订阅号: GDG-ZhuHai)
TFUG珠海 (订阅号: ZH_TFUG)
NN 4159
Comments