Guido 退出 Python 指导委员会

原文: PyCoder's Weekly - Issue #397

PyCoder

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

(是也乎:

Descriptors

配合装饰器才能发挥作用的描述符:

...能在类上拦截对实例属性的访问,由此可以引出很多有趣的用法,和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.

讨论

Discussions

NIL

文章,教程和嗯哼

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

饥饿的 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.

(是也乎:

Boto3

这课一定有赞助

)

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

(是也乎:

用了30年...当然日本还得30年

)

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.

(是也乎:

很早就推荐过的...

Wonderland

)

(是也乎:

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

)

(是也乎:

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

)

(是也乎:

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

(是也乎:

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

)

(是也乎:

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

)

📆🐍 活动/大会

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

DAMA

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

(( ̄▽ ̄):

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

200112 按时结束

年后第5期就来:

200203 可以上线

)

是也乎

NN 3851


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...

任何问题

随时邮件提问可也:
askdama@googlegroups.com

-->