News

Libraries are collections of shared code. They're common in Python, where they're also called "modules," but they're also ...
In the example above, the calculate_squares function didn’t need any parameters, but what if we wanted to make our log_performance decorator work with any function that takes any parameters?
Discover the game-changing VS Code extensions that every Python developer needs. Boost productivity, catch errors in real-time, and make coding more intuitive with these must-have tools.
Ubuntu is a free computer system, like Windows or macOS, but it’s built by a community. It’s great for programmers because it’s very flexible and has lots of tools already built-in that help you code.
Learn how to use Python’s optional type-hinting syntax to create cleaner and more useful code.
Python 3.11 will bear the fruits of CPython's multi-year effort to make Python a faster programming language.
Take advantage of caching and the lru_cache decorator to relieve your Python functions from repetitive heavy lifting.
Learn how Mypy's type checking works with functions and generators. In my last two articles I've described some of the ways Mypy, a type checker for Python, can help identify potential problems with ...