MCPcopy
hub / github.com/zju3dv/4K4D / print

Function print

easyvolcap/utils/console_utils.py:408–429  ·  view source on GitHub ↗

r""" Print object(s) supplied via positional arguments. This function has an identical signature to the built-in print. For more advanced features, see the :class:`~rich.console.Console` class. Args: sep (str, optional): Separator between printed objects. Defaults to " ".

(*stuff,
          sep: str = " ",
          end: str = "\n",
          file: Optional[IO[str]] = None,
          flush: bool = False,
          console: Optional[Console] = console,
          **kwargs,
          )

Source from the content-addressed store, hash-verified

406
407
408def print(*stuff,
409 sep: str = " ",
410 end: str = "\n",
411 file: Optional[IO[str]] = None,
412 flush: bool = False,
413 console: Optional[Console] = console,
414 **kwargs,
415 ):
416 r"""
417 Print object(s) supplied via positional arguments.
418 This function has an identical signature to the built-in print.
419 For more advanced features, see the :class:`~rich.console.Console` class.
420
421 Args:
422 sep (str, optional): Separator between printed objects. Defaults to " ".
423 end (str, optional): Character to write at end of output. Defaults to "\\n".
424 file (IO[str], optional): File to write to, or None for stdout. Defaults to None.
425 flush (bool, optional): Has no effect as Rich always flushes output. Defaults to False.
426
427 """
428 writer = console if file is None else Console(file=file, soft_wrap=True, tab_size=4, log_time_format=verbose_time_format) # shared
429 writer.print(*stuff, sep=sep, end=end, **kwargs)
430
431
432# https://github.com/tqdm/tqdm/blob/master/tqdm/rich.py

Callers 15

import_utils.pyFile · 0.85
print_shapeFunction · 0.85
filter_depthFunction · 0.85
get_fuserFunction · 0.85
detect_model_formatFunction · 0.85
read_modelFunction · 0.85
log_stereo_paramsFunction · 0.85
expire_codes_Method · 0.85
weights_initFunction · 0.85
sh_utils.pyFile · 0.85
console_utils.pyFile · 0.85
timeitFunction · 0.85

Calls

no outgoing calls

Tested by 3

subscriberFunction · 0.68
test_context_creationFunction · 0.68
test_torch_cupy_interopFunction · 0.68