miscset.io.write_stdout

miscset.io.write_stdout(text, newline=True)[source]

Write text to the standard output file stream.

A text string is written to the system standard output file stream, and optionally a newline is added.

Parameters
  • text (str) – Output text.

  • newline (bool) – Add a os specific line separator to the end of the text.

Example code:

import miscset
miscset.io.write_stdout("Hello, world!")

Result:

Hello, world!