Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Answer

Post Timeline

Dressed the naked link.
Source Link
Peter Mortensen
  • 31.3k
  • 22
  • 110
  • 134

From http://docs.python.org/3/library/sys.html ,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').

From http://docs.python.org/3/library/sys.html ,

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').

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').

added 2 characters in body
Source Link
Felipe Augusto
  • 8.2k
  • 13
  • 44
  • 76

From http://docs.python.org/3/library/sys.html,

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')sys.stdout.buffer.write(b'abc').

From http://docs.python.org/3/library/sys.html,

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').

From http://docs.python.org/3/library/sys.html,

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').

Source Link

From http://docs.python.org/3/library/sys.html,

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').

lang-py

AltStyle によって変換されたページ (->オリジナル) /