“为什么Python很糟糕” 原文: PyCoder’s Weekly - Issue #589 pycoder

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


探讨/吐糟

Discussions

  • “为什么Python很糟糕”
    • HACKER NEWS (是也乎: 因为没办法像 JAVA 那样合理扩展成上千人团队, 通常10来人, 什么都作出来了… HACKER 当然原文作者鼓吹的是 Rust .. )
  • 有人在实际工作中使用 PyPy 吗?
    • HACKER NEWS (是也乎: 当然有, 不过, 都没什么名气… 所以, 为什么呢? CPython 性能其实是足够的; )

文章/教程/嗯哼

Articles, Tutorials and Talks

  • Filtering Iterables With Python 使用 Python 过滤可迭代对象
    • REAL PYTHON
    • COURSE In this video course, you’ll learn how Python’s filter() works and how to use it effectively in your programs. You’ll also learn how to use list comprehension and generator expressions to replace filter() and make your code more Pythonic. (是也乎: COURSE 可以是可以, 不过,调试太困难了… )
  • 通过索引提高 Pandas 的效率
    • FEDERICO TROTTA Pandas is the most widely used Python library for data manipulation, and it allows you to access and manipulate data efficiently. Its indexing techniques can significantly improve the speed and efficiency of your queries. Learn how. (是也乎: 所以, 本质上还是 DBA 哪… )
  • Overloading Arithmetic Operators With Dunder Methods 使用 Dunder 方法重载算术运算符
    • RODRIGO GIRÃO SERRÃO
    • • Shared by Rodrigo Girão Serrão This article shows you how to overload the arithmetic operators in Python with dunder methods. It includes examples for add, radd, and iadd, while also outlining how to deal with error conditions in dunder methods.
  • Django 支持多种语言
    • SAMUEL TORIMIRO
    • • Shared by Michael Herman This step-by-step article shows you how to add multiple language support to your Django projects. It covers the difference between localization and internationalization, and how to use both in the template engine.
  • 如何使用 Python 从 URL 下载文件
    • REAL PYTHON In this tutorial, you’ll find the right tools to help you download files from URLs with Python and manage the data retrieval process. You’ll cover data streaming, thread pools, and asynchronous downloads. (是也乎: URL 不过, 如果量大了, 还是使用类似 wget 的第三方专业工具来完成.. Py 进行指令生成就好 )
  • 用 Python operator 模块
    • REAL PYTHON In this tutorial, you’ll explore the Python operator module and its role in functional programming. You’ll code several examples of using both operator-equivalent and higher-order functions in programs. (是也乎: operator )
  • 热门航空客运航线
    • MARK LITWINTSCHIK This article talks about scraping passenger count data from Wikipedia and building visualizations for it. It uses wikitextparser for scraping, DuckDB for data, and rich for the terminal interface. (是也乎: MARK 基于duckdb 完成的数据可视化 )
  • 用 Python 和 Polylith 进行 Kafka 消息传递
    • DAVID VUJIC
    • • Shared by David Vujic Get started with Apache Kafka to produce & consume messages with Python. All this in a Polylith workspace, for a nice developer experience and to easily re-use existing code.
  • PyFlo: Python 初学者指南
    • PYFLO This is an online course with an interesting flow chart guiding you through lessons, with optional tangents and core concepts. It even includes an instructor’s guide. (是也乎: PYFLO 有个清晰的路线图.. 和蟒营®当年课程类似… )
  • 构建和运营 S3
    • ANDY WARFIELD This article is a very deep dive into how Amazon S3 Storage was created, and the complexities involved in operating a system at that scale. (是也乎: 呵, 这个先进了… )

好物/妙品/

Interesting Projects, Tools and Libraries, Projects & Code


📆🐍 活动/大会

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


历史上这周


DAMA

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

          _~~+~~_
      () /  → #  \ \/
        '_   ⏡   _'
        \ '--∽--' <
...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/大妈 就是四处 是也乎,( ̄▽ ̄) 的那个大妈:

全职嗯哼: 大妈的多重宇宙 - https://www.youtube.com/@Chaos42DAMA
私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开社群: 蟒营 (订阅号: Mainium)
as 创始组织者:
    CPyUG (mailling-list: python-cn@googlegroups.com)
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        AIGC珠海