[Python-Dev] PEP 214, extended print statement

Moshe Zadka Moshe Zadka <moshez@math.huji.ac.il>
Thu, 17 Aug 2000 09:16:29 +0300 (IDT)


On Wed, 16 Aug 2000, Barry A. Warsaw wrote:

> 
> >>>>> "GE" == Greg Ewing <greg@cosc.canterbury.ac.nz> writes:
> 
>     GE> Looks reasonably good. Not entirely sure I like the look
>     GE> of >> though -- a bit too reminiscent of C++.
> 
>     GE> How about
> 
>     GE>    print to myfile, x, y, z
> 
> Not bad at all.  Seems quite Pythonic to me.

Ummmmm......

print to myfile  (print a newline on myfile)
print to, myfile (print to+" "+myfile to stdout)

Perl has similar syntax, and I always found it horrible.

--
Moshe Zadka <moshez@math.huji.ac.il>
There is no IGLU cabal.
http://advogato.org/person/moshez