第一位 PSF 常驻安全开发人员 原文: PyCoder’s Weekly - Issue #584 pycoder

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


探讨/吐糟

Discussions


文章/教程/嗯哼

Articles, Tutorials and Talks

  • 如何在 Python 中展平列表列表
    • REAL PYTHON In this tutorial, you’ll learn how to flatten a list of lists in Python. You’ll use different tools and techniques to accomplish this task. First, you’ll use a loop along with the .extend() method of list. Then you’ll explore other tools, including reduce(), sum(), itertools.chain(), and more. (是也乎: 展平 )
  • Jinja 模板
    • REAL PYTHON
    • COURSE With Jinja, you can build rich templates that power the front end of your web applications. But you can use Jinja without a web framework running in the background. Anytime you want to create text files with programmatic content, Jinja can help you out. (是也乎: Jinja )
  • 估算 Wagtail 网站的排放量
    • WAGTAIL.ORG
    • • Shared by Thibaud Colas This article describes quantifying the carbon footprint of websites built with Wagtail, the Python CMS, based on a dataset of 4,000 websites. Wagtail is looking at potential improvements that could be rolled out to a large number of projects. (是也乎: 然后…收銭? )
  • 隐藏在 Python 标准库中的 CLI 工具
    • SIMON WILLISON There are several modules in Python that are directly callable from the command line, including the ability to gzip and pretty print JSON. This article introduces you to what is available and how Simon discovered them. (是也乎: 问题是能力还行, 可是拿来编写自己的工具就困难了… )
  • 当 NumPy 太慢时
    • ITAMAR TURNER-TRAURING Sometimes just switching to NumPy just isn’t enough of a speed boost, what then? Before you contemplate parallelism, there are other approaches. This articles shows you other ways of improving performance. (是也乎: 算法和代码值得优先优化… )
  • 弃用 bdist_egg 格式上传到 PyPI
    • PYPI.ORG PEP 715 has been accepted and as of August 1, 2023, the .egg format will no longer be accepted as an upload. Existing eggs on PyPI will remain in place.
  • 机器学习系统设计:200 个案例研究
    • EVIDENTLY AI A collection of links to 200 different blog posts / case studies from leaders in the ML space. Learn how companies such as Netflix and Airbnb implement and use ML in their organizations.
  • 用 Kubernetes SDK 自动化部署
    • FAIZAN BASHIR
    • • Shared by Faizan Bashir Learn how to use the Python Kubernetes SDK to automate application deployments, including creating Kubernetes resources like deployments, services, secrets, config maps, and ingress. (是也乎: 反正能不写 yaml 就嫑写… )
  • 用 collections.Counter 计算 Python 中的出现次数
    • TREY HUNNER
    • • Shared by Trey Hunner Python’s collections.Counter objects are helpful for counting occurrences of iterable items. They’re especially helpful when paired with generator expressions. (是也乎: 内置的好东西太多了,值得重新学习一下 )

好物/妙品/

Interesting Projects, Tools and Libraries, Projects & Code


📆🐍 活动/大会

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


历史上的这周


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 投稿/反馈邮箱: [email protected] (邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越…)

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

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)