Python Context Managers and the “with” Statement
If you’re like me and you are relatively new to Python, you may have come across the term “context manager” while reading documentation, or researching a library that you are thinking about using. For a while, I glossed over this term to get…