[Python-Dev] Replacement for print in Python 3.0
Fredrik Lundh
fredrik at pythonware.com
Sat Sep 3 10:05:15 CEST 2005
More information about the Python-Dev mailing list
Sat Sep 3 10:05:15 CEST 2005
- Previous message: [Python-Dev] Replacement for print in Python 3.0
- Next message: [Python-Dev] Replacement for print in Python 3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message: [Python-Dev] Replacement for print in Python 3.0
- Next message: [Python-Dev] Replacement for print in Python 3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list