res-resizer icon indicating copy to clipboard operation
res-resizer copied to clipboard

'print' expressions throw error in Python 3.x

Open mmartin0 opened this issue 11 years ago • 2 comments

'print' is no longer an expression but a function. Consequently, print statements now require parenthesis.

print "hello world" becomes print("hello world")

mmartin0 avatar May 07 '13 04:05 mmartin0

Thanks for pointing that out. I've got a branch that fixes the syntax issues.

PIL 1.1.7 isn't fully compatible with Python 3. The pip requirement should change to Pillow 2 and the import would change appropriately.

Thanks again!

jlindenbaum avatar May 07 '13 05:05 jlindenbaum

Fixed print() in 0.4.0. This does not fix PIL compatibility and the script will not yet work.

jlindenbaum avatar Sep 11 '13 02:09 jlindenbaum