This article briefly describes the iterators available in the Python module itertools and how to use them.
Today I learned how to automatically push code changes while I'm doing live coding, for example while teaching.
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
.
This tutorial teaches how to work with the Python data structure collections.deque
and provides 7 example use cases.
This article teaches you how to use functools.partial
, how it works, and when to use it, with clear examples.
Learn how batched
from the module itertools
works, example use cases, and how to implement it.
Learn some of the most common and useful features of the pathlib
module that allows you to manipulate files and directories.
Today I learned how to skip tests on Microsoft Windows in pytest
.
The Python module collections contains many useful tools. This is an overview of those tools.