Python 3.9 超酷新功能?

原文: PyCoder's Weekly - Issue #441

pycoder

  • 201007 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
  • 201007 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.

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

真蟒 现在手也快了,

course

不过, 3.9 以及之后的语言新特性, 除了提高 IDE 依赖之外, 好象并没绝对必要的改进, 现在想来 go 语言的特性接纳原则和当初 guido 坚持的很相似...

)

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.

In another installment of his “Unravelling” series, Brett Cannon takes a deep dive into rich comparison operators.

Learn the ins and outs of context managers, including some recipes that will make your code more readable, reliable, and less error prone

Streamlit is a platform used to quickly create data apps. So, why not use it to make games?

(是也乎:

Streamlit

快速生成 CLI 下的单词游戏...

)

(是也乎:

如果 Python 3 系列相互间也不兼容, 那真的是蛋痛了.

)

(是也乎:

显式运行时环境管理工具, 居然撑下来了, 果然没有赞助就没有未来...

)

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

(是也乎:

虽然台湾小姐姐 Mosky 们对 Cython 有长期推广, 但是, 我们好容易学会 Python, 是绝对难以忍受重新肥到 C 的世界中的.

)

(是也乎:

所以, 想用随机数, 还是得找靠谱的随机源...

)

文章/教程/嗯哼

Articles, Tutorials and Talks

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 有什么推动, 再说了.

)

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

Pip 进来版本变化非常快....

但是, 依然跟不上生产项目中真实需求问题...

)

A huge list of project ideas to inspire your imagination!

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!

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.

(是也乎:

map

函式计算, 也就是语法糖, 并不一定提高代码可读性, 也不一定提高计算效能, 但是, 逼格是一定提高的.

)

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.

(是也乎:

依赖管理的困难, 不过是多个开发团队之间的协调问题, 用工具来自动监控, 除了增加又一个警告外, 并无多大意义...

这其实, 也是中台概念的提出原因;

大家不要用外界乱来的各种模块, 统一使用内部中台接口就好.

)

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.

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.

Learn how to handle payments in your Django project using Stripe.

好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

嗯哼? 配置错误如何防止? 这等于在出生时防止 DNA 缺陷一样.

)

(是也乎:

反正不保证稳赚

)

(是也乎:

django 中的 su 指令

)

(是也乎:

XKCD 当初选择这个名字,纯粹因为, 没人使用, 毕竟是个读不出来的错误单词; 但是, 硬凭借作者无限想象力, 变成了全球知名品牌.

所以, 品牌并不神奇, 背后的苦工才是神奇根本.

~> xkcd: Ineffective Sorts

)

(是也乎:

验证二进制文件安全性的简单工具...

生存不易, 互联网中可下载的一切都值得怀疑...

)

📆🐍 活动/大会

Events, MeetUp 真的是全球线下活动组织中心

DAMA

❤️ Happy Pythonic ;-(大妈私人无责任播报)

蟒营®编程思维提高班 Python版/13期已发布

时间规划:

  • 报名截止 2020.10.19
  • 正式开课 2020.10.25
  • 课程结束 2020.12.06

10.1 特价: 2642元/人

当期优惠: 10.10 前报名,再减 800元

  1. 老学员或是其它有效推荐, 再惠 500元
  2. 在校生, 再优惠 1000元
    • 出示学生证即可
  3. 复读 5折
  4. 组团:
    • 4人及以上(建议直接联系 蟒营®开绿色通道.)

(注意: 以上优惠政策不可叠加;-)

报名流程: 微信扫码报名→付学费→入微信群

reg13py

详情 => 蟒营®编程思维提高班 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

RPP


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:
Zoom.Quiet’s Chaos42 | Substack


关注公众号, 持续获得相关各种嗯哼:
zoomquiet


蟒营®编程思维提高班Python版

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 任何问题, 随时邮件提问可也:
    askdama@googlegroups.com
-->