Edit: Since it appears that there\'s either no solution, or I\'m doing something so non-standard that nobody knows - I\'ll revise my question to also ask: What is the best w
I wrote a tee() implementation in Python that should work for most cases, and it works on Windows also.
tee()
https://github.com/pycontribs/tendo
Also, you can use it in combination with logging module from Python if you want.
logging