class_docstr: A print()-providing object that can override the stream output on
  a per-thread basis.
class_docstr_tok: ["A","print","(",")","-providing","object","that","can","override","the","stream","output","on","a","per-thread","basis","."]
docstr: A variant of print() that writes to a thread-local stream.
docstr_tok: ["A","variant","of","print","(",")","that","writes","to","a","thread-local","stream","."]
code: def print(self, *args, **kwargs):
      """
      A variant of print() that writes to a thread-local stream.
      """
      print(*args, file=self._get_stdout(), **kwargs)
  
imports: import contextlib
  import io
  import random
  import socket
  import subprocess
  import sys
  import threading
  import uuid
  import numpy
label_desc: Use image node_id 3 for calling the _Printer obj's underlying member method code with example usage: obj.print() without return types