From sys — System-specific parameters and functions :
To write or read binary data from/to the standard streams, use the underlying binary buffer. For example, to write bytes to stdout, use sys.stdout.buffer.write(b'abc').
Zhichang Yu
- 399
- 4
- 8