How to fix those errors?

Thomas 'PointedEars' Lahn PointedEars at web.de
Sun Nov 16 17:13:33 EST 2014


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_ (“:”)

> and you need to unindent it one level if it is to make sense.

-- 
PointedEars

Twitter: @PointedEars2
Please do not Cc: me. / Bitte keine Kopien per E-Mail.



More information about the Python-list mailing list