cathy_tools.print

Contents

cathy_tools.print#

cathy_tools.print(*objects: Any, sep: str = ' ', end: str = '\n', file: IO[str] | None = None, flush: bool = False) None[source]#

Print object(s) supplied via positional arguments. This function has an identical signature to the built-in print. For more advanced features, see the Console class.

Parameters:
  • sep (str, optional) – Separator between printed objects. Defaults to “ “.

  • end (str, optional) – Character to write at end of output. Defaults to “\n”.

  • file (IO[str], optional) – File to write to, or None for stdout. Defaults to None.

  • flush (bool, optional) – Has no effect as Rich always flushes output. Defaults to False.