kgtk icon indicating copy to clipboard operation
kgtk copied to clipboard

Make KgtkReader and KgtkWriter be Context Managers

Open CraigMiloRogers opened this issue 3 years ago • 0 comments

KgtkReader and KgtkWriter should implement the Python Context manager protocol so the with statement can be used with them. This will simplify some KGTK code and make it easier to maintain.

CraigMiloRogers avatar Feb 01 '22 22:02 CraigMiloRogers