Issue 412 ~蠎周刊 ~汇集全球蠎事儿 ;-)

2020/03/19 19:54
阅读数 192

原文: PyCoder's Weekly - Issue #412


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

“Code metrics are a popular way to analyse the complexity of our software. For some reason, we are attracted to single-figure summaries of quality, whether it’s lines of code, cyclomatic complexity, or the Pylint score. Personally, I think using these are about as valuable as judging another person based on one of their visible or measurable characteristics.”


对 圈复杂度 们的叕一次私人反击, 但是, 资本将重构一切.


In this step-by-step course, you’ll learn how to use PyGame. This library allows you to create games and rich multimedia programs in Python. You’ll learn how to draw items on your screen, implement collision detection, handle user input, and much more.





The field of data science is rapidly growing and relies heavily on Machine Learning; with hundreds of ML libraries, Python has become the language of choice for most engineers. Check out ActiveState’s list of the top 10 ML packages to learn →


一直低调赚钱的 ACTIVESTATE , 发布的 Python 发行版本可以说是最稳定的一支; 他们心目中的 ML 模块是:

#10 Matplotlib
#9 Natural Language Toolkit (NLTK)
#8 Pandas
#7 Scikit-learn
#6 Seaborn
#5 NumPy
#4 Keras
#3 SciPy
#2 Pytorch
#1 TensorFlow

嗯哼, 有两个纯粹可视化模块...

以及, TF 完胜 PyTorch ...


The Django core team, the Django Technical Board, and the Board of Directors of the Django Software Foundation have held their deliberations and voted to accept Django Enhancement Proposal (DEP) 10. Learn what the adoption of DEP 10 means for Django now and in the future.

What makes a good log? When should you log something, and when is logging overkill? In this opinion piece, Nikita Sobolev argues that logging isn’t always best-practice in an application and discuss some alternatives that might make better sense from a business perspective.

“[On the] recommendation to add a ‘service layer’ to Django applications. The short version of my opinion on this is: it’s probably not what you want in Django apps.”



Monty Python 真的是人类历史上最伟大的喜剧团体了...






Articles, Tutorials and Talks

Why is it so difficult to write good documentation? Why are documentation authors for projects often invisible? In this article, Melissa Mendonça investigates the answers to these questions and describes a new NumPy Enhancement Proposal that aims to restructure the NumPy documentation, build a documentation team, and diversify the contributor base.


说的没错, 可是现在人们不看文字了, 这又怎么办?


“World Wandering Dudes is a simulation framework in which you initiate a ‘world’ which consists of a ‘field’ and a set of ‘creatures’ (dudes). The field has food on it. Each day, the creatures run around gathering the food which they need to survive and reproduce.”

Binary search is a classic algorithm in computer science. In this step-by-step tutorial, you’ll learn how to implement this algorithm in Python. You’ll learn how to leverage existing libraries as well as craft your own binary search Python implementation.





Learn how the Python defaultdict type works and how to use it for handling missing keys when you’re working with dictionaries. You’ll also learn how to use a defaultdict to solve problems like grouping or counting the items in a sequence or collection.



新型内建数据结构, 最大的问题只是不兼容老代码而已


The Django ORM and SQLAlchemy are two of the most popular Python ORMs, but they have some pretty significant differences. Explore how common actions work in each framework, including transactions, models, queries, and dealing with the N+1 problem.


Django 内置的 ORM 是最好的.对于 Django 而言.


“A couple of months ago, I was at work waiting patiently for some documentation to go live about a new type of attacks against modern web applications called HTTP Desync attacks. Here is the story of my findings in gunicorn!”


AWS 的问题以及应对,永远不会缺乏关注者


Does it make sense for all() to return True for an empty list? Is “all unicorns are blue” a true statement? Does shaving your dog contradict the statement “all mammals have fur?” You’ll have to read to find out!

“How inappropriate data access patterns massively slow down programs and how the same problems arise with RESTful APIs.”


看起来又是篇为 RPC 复辟叫好的文章.


Learn how to implement a simple video chat application in Python and JavaScript that leverages WebRTC.


Twisted 的好,不仅仅在她很知名, 还在她是真的与时俱进的活的框架, )


叕一则对迭代工具包的介绍, 其实, 如此大力的宣传, 并不一定有效, 毕竟 Python 是过程型脚本语言, 不是纯函式语言哪



Interesting Projects, Tools and Libraries, Projects & Code


叕一个 IPython notebook 的再制品?



开始对常用数据结构死扣内存/CPU 效率了... 这说明, Python 已经进入 盛年 )

📆🐍 活动/大会

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

EuroPython 2020 is still scheduled


欧洲就是奔放哪... )

PyData statement on COVID-19 and Spring 2020 PyData events.








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


nCoV 最新海外信息

文科生的战斗, 虽然没办法象 wuhan2020 们那样快速组织工程师, 先于国家完成各种实用系统;

但是, 文科生通过大量海外报道的浏览/对比/翻译/报道/...

可以帮助人们通过真实世界的反应, 来更好的理解当前状态.

而且, 一个完全没有技术基础的文科团队, 自然通过 github 完成所有协同, 实在..感动 -> github 太好用了.



NN 3956

好文笔,感叹号年度配额: 1/3


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

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)

核心成员: PyChina (订阅号: PyChinaOrg)
    GDG珠海 (订阅号: GDG-ZhuHai)
    TFUG珠海 (订阅号: ZH_TFUG)

蟒营™Python入门班 第6期 马上截止报名:

  • 报名截止 2020.3.22
  • 正式开课 2020.3.29
  • 按时结束 2020.5.10


蟒营™式 原创课程服务:



Powered by: Zoom.Quiet / 昧因科技®

本文由博客一文多发平台 OpenWrite 发布;

点击引领话题📣 发布并加入讨论🔥
0 评论
0 收藏