[Python-Dev] Replacement for print in Python 3.0
Gareth McCaughan
gmccaughan at synaptics-uk.com
Fri Sep 2 16:52:20 CEST 2005
> > 3. It's convenient for debugging, interactive use, simple scripts,
> > and various other things.
>
> Interactive use is its own mode and works differently to the base
> language. To print the value of something, just type an expression.
Doesn't do the same thing.
> The problem with print is it becomes a barrier to extending a
> script into something more ambitious. This then leads to ugly
> 'features' like '>>' and trailing commas. By all means provide a
> simple syntax for i/o with the standard streams but ensure it is
> something that is a firm basis for extension.
Do you have any suggestion that's as practically usable
as "print"?
--
g
More information about the Python-Dev
mailing list