The Python programming language, tutorials, and more

340 425,145 39,504
articles words lines of code

Learn what the abi3t and the limited C API are and what that means for Python users.

Learn how to write and use thread-safe iterators in Python 3.15.

Learn about 4 of the most exciting updates made to the Python standard library in 3.15.

This article goes over the major improvements made to the typing module in Python 3.15.

Learn how to define a TypedDict that accepts extra items of a given type.

Learn about the new module profiling that was introduced in Python 3.15 to organise the built-in profiling tools.

Learn how to use Tachyon, Python's sampling profiler.

Learn about the top 3 developer experience improvements from Python 3.15

Learn how to use startup configuration files to run package entry points when the Python interpreter starts up.

Learn how to use the unpacking operator inside list comprehensions.

Learn how to use the new frozendict built-in to create and manipulate immutable dictionaries.

Learn how to use the sentinel built-in from Python 3.15 for placeholder values.

Learn how to use lazy imports to speed up the startup time of your Python applications.

This article explains the 5 best new features of Python 3.15 with clear examples and explanations.