The Python programming language, tutorials, and more

260 330,557 32,230
articles words lines of code

Today I learned how to use named tuples to improve readability and flexibility of test parametrisations in pytest.

Today I learned about the parameter match used in pytest.raises.

Explore what Python could look like if we got rid of all of its synthatic sugar.

Explore unusual Python features to solve the problem of determining whether an expression is properly parenthesised.

This article shares some of the lessons I learned from working full-time on a FOSS project for 503 days.