How to fix those errors?

Chris Angelico rosuav at gmail.com
Sun Nov 16 17:22:34 EST 2014


On Mon, Nov 17, 2014 at 9:13 AM, Thomas 'PointedEars' Lahn
<PointedEars at 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.)



More information about the Python-list mailing list