[Python-Dev] Replacement for print in Python 3.0

Fredrik Lundh fredrik at pythonware.com
Sat Sep 3 10:05:15 CEST 2005


Steven Bethard wrote:

>> - Error and help messages, often with print >>sys.stderr
>
> Use the print() method of sys.stderr:
>
>    sys.stderr.print('error or help message')

so who's going to add print methods to all file-like objects?

</F> 





More information about the Python-Dev mailing list