Python capture output using context manager

Leave a comment