On Mon, Nov 17, 2014 at 9:13 AM, Thomas 'PointedEars' Lahn <pointede...@web.de> wrote: > Thomas 'PointedEars' Lahn wrote: > >> Abdul Abdul wrote: >>> from PIL import Image >>> import os >> […] >>> for inputfile in filelist >>> outputfile = os.path.splitext(inputfile)[0]+".jpg" >>> […] >> >> Define “filelist” which needs to refer to an iterable value. Also, you >> have forgotten to end the “for…in” statement with a semicolon, > > _colon_ (“:”)
You should be able to use two semicolons, that's equivalent to one colon right? ChrisA (No, it isn't, so don't take this advice. Thanks.) -- https://mail.python.org/mailman/listinfo/python-list