How to capture stdout output from a Python function call? August 20, 2022 by Magenaut I’m using a Python library that does something to an object