“为什么Python很糟糕”

原文: PyCoder's Weekly - Issue #589

pycoder

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

What are the new ways to describe your data in pandas 2.0? Will the addition of Apache Arrow to the data back end foster the growth of data interoperability? This week on the show, we talk with pandas core developer Marc Garcia about the release of pandas 2.0.

(是也乎:

Arrow

Arrow 是目标替代 NumPy 的各种数据类型... 参考: pandas 2.0 and the Arrow revolution (part I)

)

This article shows you how to call foreign C functions from Python. This allows you to call into shared libraries and is similar to how extensions work. The examples use the Steamworks SDK which games use to communicate with Steam.

Python packaging allows for a wide variety of version styles for your packages. This article shows you what is out there and why you might use each.


探讨/吐糟

Discussions

(是也乎:

因为没办法像 JAVA 那样合理扩展成上千人团队, 通常10来人, 什么都作出来了...

HACKER

当然原文作者鼓吹的是 Rust ..

)

(是也乎:

当然有, 不过, 都没什么名气... 所以, 为什么呢?

CPython 性能其实是足够的;

)


文章/教程/嗯哼

Articles, Tutorials and Talks

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

)

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.

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.

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 进行指令生成就好

)

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 )

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 完成的数据可视化

)

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.

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

有个清晰的路线图.. 和蟒营®当年课程类似...

)

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

(是也乎:

国货, 要 node 配套, 不是 htmx 方向..

)

(是也乎:

Django ORM 最大的问题是无法优化吧... 如果没有事先由 DBA 直接在数据库中完成优化, ORM 迭代出来的数据库结构已经不可控了?

)

(是也乎:

textual

8bit 艺术重要工具... 支持输出为多种格式文件, 包含 .svg,.webp...

)


📆🐍 活动/大会

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

投稿/反馈邮箱:

askdama@googlegroups.com

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


ZoomQuiet/大妈

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

全职嗯哼: 大妈的多重宇宙 - https://www.youtube.com/@Chaos42DAMA
私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开社群: 蟒营 (订阅号: Mainium)

as 创始组织者:
    CPyUG (mailling-list: python-cn@googlegroups.com)
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        AIGC珠海 


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:
Zoom.Quiet’s Chaos42 | Substack


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


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

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 任何问题, 随时邮件提问可也:
    askdama@googlegroups.com
-->