[Python-3000] print() parameters in py3k

Fredrik Lundh fredrik at pythonware.com
Mon Nov 20 17:56:03 CET 2006


Giovanni Bajo wrote:

> Uhm, but then, why not simply:
> 
> println(x,y,z) -> append "\n"
> print(x,y,z) -> no terminator
> print(x,y,z,"\r\n") -> custom terminator

hey, I proposed that earlier today, but something ate my post ;-)

while we're at it, why not add a printf as well, btw?  (defined as
def printf(fmt, *args): print(fmt % args)).

</F>



More information about the Python-3000 mailing list