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

原文: PyCoder's Weekly - Issue #530

pycoder

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

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.

(是也乎:

COURSE )

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


探讨/吐糟

Discussions

(是也乎:

...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.

(是也乎:

MkDocs

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

)

“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 的替代品, 这潇越来越清晰了

Dashboards

)

“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 真的是全球线下活动组织中心


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



自怼圈/年度番新

DU22.4
关于 ~ DebugUself with DAMA ;-)
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:


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


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

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:

追问

任何问题, 随时邮件提问可也:
askdama@googlegroups.com

-->