Whats with all the Underscores in Python 🀯

The various meanings and naming conventions around single and double underscores (β€œdunder”) in Python, how name mangling works and how it affects your own Python classes.
Read more β†’

Context Managers in Python

Context Managers is a simple protocol or interface that your object needs to follow in order to support the with statement. It makes properly acquiring and releasing resources a breeze. with statements abstracts away most of the resource handling logic.
Read more β†’

Assert Statements in Python

The assert keyword in Python lets you test if a condition in your code returns True, if not, the program will raise an AssertionError.
Read more β†’

Getting Started with HashiCorp Vault

Vault is a secrets management platform. It provides a range of features designed to encrypt secrets, control access to secrets through authentication and authorization, and records secrets access through auditing.
Read more β†’

An Introduction to Python Generators

Generator functions are a special kind of function that return a lazy iterator. These are objects that you can loop over like a list. However, unlike lists, lazy iterators do not store their contents in memory. (source - realpython.com)
Read more β†’