News

Libraries are collections of shared code. They're common in Python, where they're also called "modules," but they're also ...
This post explains what a Python module is and how to use it to drastically extend the capabiltiies of your code. Plus: how to make your own!
How does Python deal with memory management? Learn the ins and outs of Python's garbage collection system and how to avoid its pitfalls.
Part of the reason the typing module was so slow was that there was an initial design goal to implement the typing module without modifying the core CPython interpreter.
Tighten up your code and identify errors before they occur with mypy. I've been using dynamic languages—Perl, Ruby and Python—for many years. I love the flexibility and expressiveness that such ...
The latest version of Python sports powerful pattern matching features, better error reporting, and smarter typing syntax for wrapped functions. Python 3.10, the ...
Python 3.7's dataclasses reduce repetition in your class definitions. Newcomers to Python often are surprised by how little code is required to accomplish quite a bit. Between powerful built-in data ...