Again: Please hear my plea: print without softspace

Dang Griffith noemail at noemail4u.com
Thu Mar 4 07:52:27 EST 2004


On Tue, 02 Mar 2004 10:32:35 -0700, David MacQuigg <dmq at gain.com>
wrote:

>The 'print' statement is just shortcut for 'sys.stdout.write' with
>some convenience features suitable for most users.  If you need
>something else, just define your own shortcut, don't deprecate a
>statement that is exactly what most users want.

'print' is not a shortcut for 'sys.stdout.write'.
'print' is a statement.  'sys.stdout.write' is a function.
You can't define a shortcut for a statement.
    --dang



More information about the Python-list mailing list