原文: PyCoder's Weekly - Issue #377

realpython


In this tutorial, you'll learn about collaborative filtering, which is one of the most common approaches for building recommender systems. You'll cover the various types of algorithms that fall under this category and see how to implement them in Python.

(是也乎:

Recommendation

有公式原理分析的教程...

)

Thoughts on upcoming features in Python 3.8 and 3.9, like sub-interpreters, that will make writing high-performance concurrent programs that are CPU-bound more convenient.

(是也乎:

GIL 将被谋杀嘛?

)

"Everyone in the Python community has heard about Celery at least once, and maybe even already worked with it. Basically, it's a handy tool that helps run postponed or dedicated code in a separate process or even on a separate computer or server. This saves time and effort on many levels."

(是也乎:

又见 芹菜...

)

Perhaps surprisingly, there is a performance difference between the two. Read Michael's article to find out why using a {*} set literal is faster.

In this tutorial, you will learn how to perform video classification using Keras, Python, and Deep Learning.

(是也乎:

pyimagesearch.com

是位非常厉害的光头程序猿, 一己之立写书/设计课程,完成原创模块, 四处演讲/咨询....

专注 CV

)

讨论

Discussions

(是也乎:

没毛病哪, NASA 都用了那么多年 Tk, 如果对颜值没要求,而是对响应/稳定/简洁有要求, Tk 才是第一选择了...

)

文章,教程和嗯哼

Articles, Tutorials and Talks

In this course, you'll see how you can make your loops more Pythonic if you're coming to Python from a C-style language. You'll learn how you can get the most out of using range(), xrange(), and enumerate(). You'll also see how you can avoid having to keep track of loop indexes manually.

Black is a Python code formatter. It will reformat your entire file in place according to the Black code style, which is pretty close to PEP8. This article shows you the basics of working with Black.

(是也乎:

虽然想不妥协, 但是, 和 gofmt 不同, 所有 Python 代码格式器, 都难以作到真正的智能联动...

)

An overview of some methods for reducing the size of objects, which can significantly reduce the amount of RAM needed for pure Python programs.

This post describes how to use Python based web scraping tools and Tor to hide yourself when scraping websites for data.

(是也乎:

发现 Tor 才是终极爬虫平台... 可惜在中国已经不存在了...

)

"When publishing interfaces, one must be careful: to a first approximation, they are forever."

(是也乎:

永生的 Interfaces

)

(是也乎:

大蟒在吞食世界...

早年 Python 发展回顾, 现在 帮助Netflix将视频流传输到全球超过1亿个家庭,为照片共享现象Instagram提供动力,并帮助NASA进行太空探索...

但是, 网络中针对无基础学习者提供的 Python 课程, 多数只是针对 Python 本身, 而对 Python 积累的庞大生态视而不见,

蟒营

伴你重新享受自学的乐趣

101camp

报名入口: 蟒营 Python 入门班

)

好物

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

华生 都不够用了...

sherlock

)

(是也乎:

>>> from bistring import bistr
>>> s = bistr('𝕿𝖍𝖊 𝖖𝖚𝖎𝖈𝖐, 𝖇𝖗𝖔𝖜𝖓 🦊 𝖏𝖚𝖒𝖕𝖘 𝖔𝖛𝖊𝖗 𝖙𝖍𝖊 𝖑𝖆𝖟𝖞 🐶')
>>> s = s.normalize('NFKD')     # Unicode normalization
>>> s = s.casefold()            # Case-insensitivity
>>> s = s.replace('🦊', 'fox')  # Replace emoji with text
>>> s = s.replace('🐶', 'dog')
>>> s = s.sub(r'[^\w\s]+', '')  # Strip everything but letters and spaces
>>> s = s[:19]                  # Extract a substring
>>> s.modified                  # The modified substring, after changes
'the quick brown fox'
>>> s.original                  # The original substring, before changes
'𝕿𝖍𝖊 𝖖𝖚𝖎𝖈𝖐, 𝖇𝖗𝖔𝖜𝖓 🦊'

更加狂野的字串处理模块

)

(是也乎:

Pyret

叕一门全新编程语言...

node 实现, .arr 为后缀...

)

(是也乎:

expressPython

竞技用编辑器?

)

📆🐍 活动/大会

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

DAMA

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

开始报名, 190725截止, 最后7天

课程: 0728~0908

~ helps you setup a new Python project

(是也乎:

Do With Py

总是永远有人问这个问题... 当然, 这个问题任何一个技术社区都有人在问...

其实, 本质上并不是对应技术是否有什么能力, 而是相反...

)

Jobs:

必须 Pythonic 相关

是也乎

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

Comments