sys.stderr.write returns string length in Python 3

Fredrik Lundh fredrik at pythonware.com
Wed Jul 23 03:07:27 EDT 2008


Alan G Isaac wrote:

> Can you give me an example of using the returned value?

it's for consistency with stream objects that support raw I/O (as 
described in the PEP).  when using buffered I/O, you can ignore it.

</F>




More information about the Python-list mailing list