Recent Posts

Python: Implement a custom context manager

less than 1 minute read

The context manager type is a Python feature to help work with unmanaged resources (e.g. file streams) which it is better to clean up or shutdown in an or...