printf (fmt,
*args,
**nl_nt_prec_prefix__end_file_flush_sep__kwds)
|
|
Printf-style and Python 3+ print-like
formatting and printing.
- Arguments:
fmt - Printf-style format specification
(str).
args - Arguments to be formatted (any type, all
positional).
nl_nt_prec_prefix__end_file_flush_sep__kwds - Optional keyword arguments nl=0 for the
number of leading blank lines (int),
nt=0 the number of trailing blank lines
(int), prefix=NN to be inserted
before the formatted text (str) and Python 3+
print keyword arguments end,
sep, file and
flush. Any remaining kwds
are printf-style name-value pairs to be formatted,
iff no args are present using
prec=6 for the number of decimal digits
(int).
- Returns:
- Number of bytes written.
|