The code below creates a "tee" object that tees stdout to a file as well as the terminal.
If do del t
as below when I'm done tee-ing, the object doesn't get deleted and the __del__()<
The code below creates a "tee" object that tees stdout to a file as well as the terminal.
If do del t
as below when I'm done tee-ing, the object doesn't get deleted and the __del__()<,python"/>