Python 3.10.6 发布

原文: PyCoder's Weekly - Issue #537

pycoder

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

Learn how to identify and fix logic errors, or bugs, in your Python code. You’ll use the built-in debugging tools in Python’s Integrated Development and Learning Environment to practice locating and resolving bugs in an example function.

(是也乎:

基础又迷人的技巧..

Finding

猜测其实就是经验...

)

To learn more about writing maintainable Python, Eugene has been reading code from some of the more popular Python libraries. This blog post talks about some of the coding patterns he has encountered along the way.

(是也乎:

Uncommon

结构即架构

)

Learn how to build a play-by-play scraper to process video data from an NBA game. Use Tesseract OCR to determine clock and quarter information, then match it up with the play-by-play data to create highlights.

(是也乎:

OCR 技术自动识别关键帧

亮点

)


探讨/吐糟

Discussions

(是也乎:

Say No.

)

(是也乎:

论现场构思一次演讲的套路...

)


文章/教程/嗯哼

Articles, Tutorials and Talks

Is there someone in your life you’d like to inspire to learn Python? Mission Encodeable is a website designed to teach people to code, built by two high-school students. This week on the show, Anna and Harry Wake talk about creating their site and motivating people to start coding.

(是也乎:

Kids

其实吧, 嘦高考包含 Python 不用激励, 都学起来了...

)

“While the statistical underpinnings of A/B testing are a century old, building a correct and reliable A/B testing platform and culture at a large scale is still a massive challenge.” This blog post from Uber describes why and how they rebuilt their A/B testing platform.

(是也乎:

等等, Uber 还在?

)

In this tutorial, you’ll learn how to properly define constants in Python. By coding a bunch of practical example, you’ll also learn how Python constants can improve your code’s readability, reusability, and maintainability.

(是也乎:

Constants

其实嘦确保全局唯一就可以自在了.

)

How do you choose the right Python concurrency API? The standard library offers three choices. Learn the differences between the libraries and what problems are best solved by each.

“I’ve be working on Textual for over a year now. Here’s a few things I’ve discovered (or re-discovered) regarding terminals in Python, and software development in general.”

(是也乎:

TUI 7戒

...Emojis are terrible

哈哈哈...

)

Learn how to do simple linear regression using the Python standard library, including how to prep your data set and a variety of statistical operations.

Learn how to create custom plots in PyQt6 with PyQtGraph, including building the graph, styling the lines and markers, axis labels, legends, and more.

(是也乎:

Qt 哪...传奇 GUI, 可以瞻仰, 不建议深入..

)

This article covers four different methods you can use to connect to a MySQL database in Python with SSL enabled.

(是也乎:

嗯哼? 现在不是 SQLite 就是 Pg 了吧...

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

嗯哼? 叕一种运行时管理姿势

)

(是也乎:

嗯哼, 看起来自由无比的的 GraphQL 一样可以结构化测试

)

(是也乎:

娺一个 进度条 组件, 其实吧, 这种东西在自动化执行过程中最不必须的...

)

(是也乎:

嗯哼? google 出手了?

)

(是也乎:

# Using assertions
def test_something():
    a, b = my_function_1(), my_function_2()

    assert a == 2;
    assert isinstance(a, int)
    assert isinstance(b, tuple)
    assert len(b) == 5

嗯哼, 这种形式比 if..else 堆漂亮很多

)


📆🐍 活动/大会

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

每年, 世界各地都有自发举行 Python 相关集会, 很多一办几十年, 中国很少有这种活动, 多数几届后就消散了...可明明外国人口流动才大的?


DAMA

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

ACM-O

(是也乎:

谈崩了, 之前通过 ACM 会员可以每年 $25 享受 O'REILLY 在线图书馆服务...现在没了

)


PS:

PPS:

不觉中蟒周刊快译已经到了第11个年头

开始有小伙伴加入承担 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


大妈的多重宇宙 - YouTube

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

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


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


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

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