On Fri, Jan 9, 2009 at 7:15 PM, Marc 'BlackJack' Rintsch <bj_...@gmx.net> 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.
Not true as of 2.6+ and 3.0+ print is now a function. cheers James -- http://mail.python.org/mailman/listinfo/python-list