[EMAIL PROTECTED] writes:

>> for row in izip_longest(*d, fillvalue='*'):
>>      print ', '.join(row)
>>
>> HTH
>
> I thought that but when I tried it I recieved a
> "Syntax Error: Invalid Syntax"
> with a ^ pointing to fillvalue :S

Python isn't too happy about adding individual keyword arguments after
an explicit argument tuple.  Try this instead:

for row in izip_longest(*d, **dict(fillvalue='*')):
     print ', '.join(row)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to