原文: PyCoder's Weekly - Issue #361

realpython


In this intermediate-level tutorial, you'll learn how to use threading in your Python programs. You'll see how to create threads, how to coordinate and synchronize them, and how to handle common problems that arise in threading.

(是也乎:

真蟒, 系列插图, 真香...

...

)

A great explanation of Python's argument-passing semantics.

(是也乎:

参数传递的一次嗯哼...

...

手绘万岁...

)

Step by step post about how the author used Python's decorator feature to change a piece of user facing functionality without breaking existing user code that uses it.

(是也乎:

非常实用以及血泪经验了..

)

Brett breaks down the famous Python-related xkcd #1987 comic in an attempt to try an de-mystify what has happened to the artist's laptop. Fun read!

(是也乎:

...

对 1987 号漫画的详细解析...痛泪满面...

)

Learn the fundamentals of object-oriented programming (OOP) in Python and how to work with classes, objects, and constructors.

(是也乎:

叕一次, OOP 了 Python

)

Read the changelog here

讨论

Discussions

(是也乎:

嫑哭...嫑哭...嫑哭...

)

文章,教程和嗯哼

Articles, Tutorials and Talks

How to turn Django Admin into a lightweight dashboard by adding a chart and a summary table. Recommended reading for Django Admin hackers :)

(是也乎:

..

)

Get comfortable with Django migrations and learn how to create database tables without writing any SQL, how to automatically modify your database after you changed your models, and how to revert changes made to your database.

(是也乎:

Migrations 这是 Django 强大的工具, 也是持有的问题..

...

)

How to use async/await in wxPython with the wxasync library.

How to use Docker containers to sandbox the complex inner workings of a Python command-line (CLI) application.

Learn the basics of Docker multi-stage builds for Python apps.

(是也乎:

Docker 也没办法一把解决 Python 运行时环境问题... )

"Building your own disassembly tooling for fun and profit."

Going from monoliths to microservices, and back?

(是也乎:

没有银弾...没有银弾...没有银弾...

)

With for and while loops in Python, the else clause is executed if the loop reached its natural end without encountering a break statement.

好物

Interesting Projects, Tools and Libraries

The biggest change is that PyPy now uses utf-8 internally for unicode strings.

(是也乎:

当年是真没想到这项目能活下来...

)

Microsoft launched a static type checker for Python, written in TypeScript. They claim that "Pyright is typically 5x or more faster than mypy and other type checkers that are written in Python."

(是也乎:

已经被刷屏的 M$ 家 PEP8 作品. )

(是也乎:

...

叕一个语法解析库.

)

iTerm 2 is a fantastic terminal emulator for macOS. And now it has a spiffy new Python API.

(是也乎:

嗯哼? 可以说喜大普奔?

)

(是也乎:

实效数据科学工作流? 就是数据清洗的标准化?

)

📆🐍 活动/大会

Events

A historic discussion of language creators about the past and future of language design. Great lineup of guests, including Guido.

DAMA

❤️ Happy Pythonic!

(大妈私人无责任播报)

是也乎

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

Comments


大妈的多重宇宙 - YouTube

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

任何问题

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

-->