原创Raspberry Pi 手表

原文: PyCoder's Weekly - Issue #575

pycoder

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

In this tutorial, you’ll learn how to create and use full-featured classes in your Python code. Classes provide a great way to solve complex programming problems by approaching them through models that represent real-world objects.

(是也乎:

可能就是能涨工资...对生产效率帮助不大?

)

Talk Python to Me interviews a host of people at PyCon US 2023. Guests include Mario Munoz, Nick Muoh, Chris Williams, Ray McLendon, and Sean Tibor all talking about their experience at the conference.

(是也乎:

这篇报道丰富了... 大型群口相声...

)

“With a Mastodon bot, you can automate tasks such as posting updates, replying to mentions, or even creating interactive chatbots.” This tutorial teaches you how to build such a bot.

(是也乎:

requests 自己作死...现在其它优秀模块已经上位...

SEE: Why I'm not collaborating with Kenneth Reitz — njs blog --- 为什么我不与 Kenneth Reitz 合作 — njs 博客

)


探讨/吐糟

Discussions

(是也乎:

poetry/pip/pipenv/pyenv/venv/virtualenv/pdm/hatch/… 的实验性替代品

all-in-one 式的日常工具, 果断用 rust 构建出来了, 解决以往一堆又一堆 Python 工具没解决的根本问题...

就等 1.0 发布了...

)


文章/教程/嗯哼

Articles, Tutorials and Talks

In this course, you’ll learn how to use Python’s assert statement to document, debug, and test code in development. You’ll learn how assertions might be disabled in production code, so you shouldn’t use them to validate data. You’ll also learn about a few common pitfalls of assertions in Python.

(是也乎:

assert

)

Django signals provide a powerful way to trigger actions when specific events occur, but are they asynchronous or synchronous? In this article, we’ll explore the answer to this question and discuss the pros and cons of using Django signals in your web applications.

Debugging is difficult. Debugging across multiple languages is especially challenging, and debugging across devices often requires a team with varying skill. This article describes the process one team uses to debug across a mixed Python/C stack.

(是也乎:

只用 GDB 也可以, 就是要追加更多的脑汁儿...

Mixed

PS: Excalidraw 是真流行...

)

When writing GUI applications you often need to accept data from users. Reliable applications need to validate the input. This article outlines some strategies for dealing with it in the world of Tkinter GUI programming.

(是也乎:

Tk 界面现在一点儿也不原始了哪... Apps

)

PyTorch in 2023 is a complex beast, with many great performance features hidden away. This article goes through a series of empirically tested tuning techniques and settings in all combinations.

(是也乎:

PyTorch 已经 beast ... 这个形容很精当, 简直突然就翻盘了...

)

Using a 1.28-inch TFT display and a watch board, these folks were able to make a wearable out of the Raspberry Pi RP2040. Read on for where they found the parts and how they did it.

(是也乎:

Watch

使用 Pico 控制板的芯片 RP2040 自己设计的 PCB 构建... 当然, 控制代码是 Python ;-)

)

Excel isn’t going away, but increasingly financial institutions are turning to Python for their calculation needs. Learn why and what tools are involved.

(是也乎:

Wall

Wall 街的金蛇...

)

Apache eCharts is a web-based charting library built using TypeScript. This post shows you how to use eCharts through a Python wrapper.

(是也乎:

国产 eCharts , 就是那个 Ovilia (Wenli Zhang) 小姐姐主创的模块, 现在也有次级拓展了...

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

msgspec

神级logo...

有四成 C 代码... 目测这个模块火了的话, 一定有人拿来用 rust 重写...

)

(是也乎:

Rust 含量不小... 是 PyOxidizer 的 姐妹项目: PyOxy ...

)

(是也乎:

测试工程中的 mock 艺术, 简直可以出很多书了...

)

(是也乎:

markdown

网红脸式 README ....

)

(是也乎:

Python 生态, 以 大数据出圈, AI 为本命, 真.搭上了时代的暴风口...

)


📆🐍 活动/大会

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

(是也乎:

Office

一晃这个公开活动也已经第四年了, 而真蟒, 也因为自己不懈的积累原创好文章, 活下来了....

)


历史上的这周


DAMA

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

            _~--^~_
        \) /  - ^  \ \/
          '_   v   _'
          > '-----' <

...act by ferris-actor v0.2.4 (built on 23.0303.201916)

PS:

Happy Pythoning!

Copyright © 2023 PyCoder’s Weekly, All rights reserved.

PPS:

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

开始有小伙伴加入承担 pythonisa 周刊的翻译, 从来没提醒过, 可就这么默默坚持下来了...

问为什么:

[皱眉]每周新闻资讯 怎么能错过 
看看有什么新东西 
当有新的发现时:
    what f**k 还能这样玩? 还有这东西?
    每周开彩蛋[吃瓜]

无法同意更多... 很多社区贡献看起来辛苦, 其实受益最多的, 就是主动承担者也.

所以++> 锈周刊 -> Weekly :: China


好文笔,感叹号年度配额: 2/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
-->