The @property decorator in Python
The property decorator allows us to define methods that act as attributes in Python classes. This simplifies using the objects, and extends what we can do when getting and setting attribute values.
The property decorator allows us to define methods that act as attributes in Python classes. This simplifies using the objects, and extends what we can do when getting and setting attribute values.
When Python if statements grow, they become difficult to work with. Learn how to simplify them using match-case and dictionaries in this post!
Learn how to add API key authentication to your Flask apps using Flask-RESTful and SQLAlchemy.
Python 3.10 deprecated a frequently-used function in the asyncio library. In this post we explain what the new best practice is and how to change your code to use it.
Learn about the new "match...case" syntax in Python 3.10, and how you can use it with a bunch of examples!