Python 和未来的编程 ~ 老爹3小时访谈

原文: PyCoder's Weekly - Issue #554

pycoder

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

In this video course, you’ll learn how to effectively work with file system paths in Python 3 using the pathlib module in the standard library.

A great collection of code snippets that showcase the power and flexibility of list comprehensions, generators and related constructs.

An in-depth, 3 hour interview with Guido van Rossum by Lex Fridman.


探讨/吐糟

Discussions

Currently all CPython objects have some memory allocated to maintain state, even those that are immutable. PEP 683 proposes “Immortal Objects” and this thread discusses the proposal.

(是也乎:

好问题,其实对等问题也存在...

)


文章/教程/嗯哼

Articles, Tutorials and Talks

A race condition happens when parallel tasks attempt to execute code at the same time and the results are dependent on order of execution. Finding race conditions can be challenging, this article gives some hints as to how to find the different kinds of race conditions when coding with the multiprocessing module.

How do you prepare a dataset for machine learning (ML)? How do you go beyond cleaning the data and move toward measuring how the model performs? This week on the show, Jodie Burchell, developer advocate for data science at JetBrains, returns to talk about strategies for better ML model performance.

(是也乎:

ML

)

In this tutorial, you’ll be examining a couple of methods to get a list of files and folders in a directory with Python. You’ll also use both methods to recursively list directory contents. Finally, you’ll examine a situation that pits one method against the other.

(是也乎:

传统艺能...

Directory

)

This deep article talks about Luke’s journey to try to add type checking and why he often gives up. It walks through what was needed to add types to parsy, one of the libraries he maintains and how it compared to other similar libraries.

(是也乎:

深入分析类型提示在实际使用过程中,为什么经常放弃...

)

The update_fields argument to the .save() call restricts the underlying SQL to just the named fields. For some conditions this can mean a performance boost. This article shows where it can be helpful and when it might lead to bugs.

This article introduces you to 7 useful Python libraries: PySnooper, schedule, MechanicalSoup, ftfy, rpyc, pyglet, and rope. Read on to learn how these can help you with your next project.

There are many linter choices for Python, this article covers a lot of them: Pylint, Pyflakes, Flake8, autopep8, Bandit, Prospector, Pylama, Pyroma, Black, Mypy, Radon, and mccabe.

(是也乎:

理论上应该是官方出的最靠谱, 但是,看市场反应,还是UX 作的好的为先?

)

As the article starts: “There’s a lot of interest in Mastodon at the moment, For Reasons.” This article talks about how to play with the Mastodon API to embed content.

(是也乎:

Mastodon ~ 又一种 IM 平台,每一种平台发布时, 都宣布过自己是最靠谱的开发社交平台...

)

Python.NET has released a new version, so Nikos has written an article that explores the history of Microsoft, .NET, and Python including the state of Iron Python.

(是也乎:

.NET 为了自救...

)

A step-by-step tutorial on creating a Reddit keyword monitoring tool with Python and praw. Learn how to run a Python script to watch keywords on a subreddit.


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

这样 BI 又多出一个选择...

)

(是也乎:

所以,这种浅框架和 FastAPI 相比有什么优势呢?

)


📆🐍 活动/大会

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

(是也乎:

新西兰 的气氛也随着中国工程师的到来开始热烈了...

)

(是也乎:

玻利维亚 ~ 很久没见过这词儿了...

)


DAMA

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


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

全新自媒体系列...科学幻想,读书,说故事...

任何问题

随时邮件提问可也:
askdama@googlegroups.com

-->