Function
Outputs a control string to a stream.
format stream control-string arguments => ()
<stream>. The stream to which formatted output should be sent.
<string>. A string containing format directives.
<object>.
None.
io
format
Sends output to stream according to the format directives in control-string. Each directive consumes one argument from arguments. See Section 2.2 on page 1 for a description of the control strings that can be used.
The control-string contents that are not part of any directive are output directly to stream, as if by the Streams module's write function.