Guido 退出 Python 指导委员会

原文: PyCoder's Weekly - Issue #397


  • 191204 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
  • 191204 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄.

"Part of my reason is that in the end, SC duty feels more like a chore to me than fun, and one of the things I'm trying to accomplish in my life post Dropbox retirement is to have more fun. To me, fun includes programming in and contributing to Python, for example the PEG parser project."


放弃争论, 清心编程...


Learn what Python descriptors are and how they're used in Python's internals. You'll learn about the descriptor protocol and how the lookup chain works when you access an attribute. You'll also see a few practical examples where Python descriptors can come in handy.




...能在类上拦截对实例属性的访问,由此可以引出很多有趣的用法,和metaclass结合起来更是如此. 对于Python来说"性能"似乎从来不是牺牲"功能"(以及其他各种美德)的理由,这次也不例外.

zhihu 上有人点评...


When you support the Python Software Foundation on Giving Tuesday you'l support organizations like the Cameroon Digital Skills Campaign. The global donatio drive runs for 24 hrs starting December 3.

After setting the PIP_REQUIRE_VIRTUALENV environment variable, Pip will no longer let you accidentally install packages if you are not in a virtual environment.

How to test Python packages as they will be installed on your users' systems to avoid subtle bugs.

A functional programming pattern you can use to parallelize the processing of nested loops.





Articles, Tutorials and Talks

"If you want to process a large amount data with Pandas, there are various techniques you can use to reduce memory usage without changing your data. But what if that isn't enough? What if you still need to reduce memory usage? Another technique you can try is lossy compression: drop some of your data in a way that doesn't impact your final results too much."


嗯哼? 意思是精确性可以不要?


In this tutorial, you'll learn about the Pandas IO tools API and how you can use it to read and write files. You'll use the Pandas read_csv() function to work with CSV files. You'll also cover similar methods for efficiently working with Excel, CSV, JSON, HTML, SQL, pickle, and big data files.



饥饿的 Pandas 什么都能食


Get started working with Python, Boto3, and AWS S3. Learn how to create objects, upload them to S3, download their contents, and change their attributes directly from your script, all while avoiding common pitfalls.





"You can already walk across the trading floor and see people writing Python code... it will become much more common in the next three to four years."




The bag-of-words (BOW) model is a representation that turns arbitrary text into fixed-length vectors by counting how many times each word appears.


周同学的 简单说明 系列周刊推荐过, 看来真心一直在折腾事儿..


How to write better tests in less time by using property based testing with the hypothesis package.


Interesting Projects, Tools and Libraries, Projects & Code

A collection of Python scripts for drawing beautiful figures and animating interesting algorithms in mathematics.






量子计算哪, Python 当然不会缺席



叕一个 PRC 框架, 世界在重新,或是说, 从来没离开过 C/S 结构, B/S 一直是幻觉哪



基于 Rust 技术, 之前试用时,无法简单编译过... 现在... )


等等, Qt ? 看来不是 Emacs 真用户



少见的 SQL 静态代码检验器, 之前,都是各家厂商自己内置的.


📆🐍 活动/大会

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


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

(( ̄▽ ̄):

第4期已开始, 为期6周;

200112 按时结束


200203 可以上线



NN 3851



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

订阅 substack 体验古早写作:

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


**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 扫描预约入群, 学员每满 42 人即启动新一期训练营 ;-)
  • 101camp22.7
  • + 任何问题, 随时邮件提问可也: