PyCoder 530

原文转载自 「蠎周刊」 ( ) By Pythoneerm

预计阅读时间 0 分钟(共 0 个字, 0 张图片, 0 个链接)

没多少人用的 Python 强大功能有什么?

原文: PyCoder's Weekly - Issue #530


Although different concepts, objects, functions, generators, and coroutines can be used almost interchangeably because of Python’s dynamic nature. Learn more about how these mechanisms are related and how to switch between them.

In this video course, you’ll learn two techniques for combining data in pandas: merge() and concat(). Combining Series and DataFrame objects in pandas is a powerful way to gain new insights into your data.



Talk Python interviews all three authors involved in PEP 690, a proposal to add the ability to delay library importation until time of use.




...My problem is that I have been stuck at print(“Hello World!”) for years. I am now doing the nᵗʰ time of restarting my “learning to code” adventure.


俺这儿经常要反复搜索 time-date-datetime-... 相互转换的代码



函式编程对应的各种特性, 比如 列表推导式, 几乎可以当成 NodeJS 来用...



Articles, Tutorials and Talks

In this tutorial, you’ll learn how to build professional documentation for a Python package using MkDocs and mkdocstrings. These tools allow you to generate nice-looking and modern documentation from Markdown files and, more importantly, from your code’s docstrings.



好工具, 只是, 构建出来后, 自己写的爽, 可看的人, 很多时刻不知道有什么更新...


“I recently wanted to examine a multi-threaded Python program, which took a long time to complete, appeared to be stuck, and even crashed occasionally. I was hoping to get the stack trace.” Peter shares the code that solved his problem and how to test with it.

Are you interested in a career in security using Python? Would you like to stay ahead of potential vulnerabilities in your Python applications? This week on the show, James Pleger talks about Python information security, incident response, and forensics.


James Pleger


This overview covers a variety of tools for visualizing data formats such as JSON, regexes, SQL, and Git history. If that’s not enough, it then goes on to describe tools to better understand your Docker and Kubernetes configurations.

Python’s logging library can be a daunting to new users, with lots of options and configuration. Learn more about some key things you should and shouldn’t do when using logger.


logging 很必要, logging 已经很可用, 只是, 日常, 没有其它机制配套,


Minimizing the number of database calls can have significant performance impacts. Learn about select_related and prefetch_related and how they can improve your Django code.

In functional programming languages, closures are used for similar purposes to classes in object oriented languages. Python supports both, learn more about how they compare.

This article shows you how to transform a Jupyter Notebook with stock information into a web-based dashboard using the Mercury framework.


Jupyter 作为 Excel 的替代品, 这潇越来越清晰了



“CI/CD and workflow automation are native capabilities on GitHub platform. Here’s how to start using them and speed up your workflows.”


Rizel Scarlett



Interesting Projects, Tools and Libraries, Projects & Code


一堆 MQ





📆🐍 活动/大会

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


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



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





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


[皱眉]每周新闻资讯 怎么能错过 
    what f**k 还能这样玩? 还有这东西?

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

好文笔,感叹号年度配额: 1/3


(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)


就是四处 是也乎,( ̄▽ ̄) 的那个大妈:

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)

as 创始组织者:
    PyChina (订阅号: PyChinaOrg)
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)