Implementing file reading in C/Python
Steve Holden
steve at holdenweb.com
Fri Jan 9 05:41:39 EST 2009
Marc 'BlackJack' Rintsch wrote:
> On Fri, 09 Jan 2009 04:04:41 +0100, Johannes Bauer wrote:
[...]
>> print("Filesize : %d" % (filesize)) print("Image size : %dx%d"
>> % (width, height)) print("Bytes per Pixel: %d" % (blocksize))
>
> Why parentheses around ``print``\s "argument"? In Python <3 ``print`` is
> a statement and not a function.
>
Portability?
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
More information about the Python-list
mailing list