fuzzylollipop wrote:

> print sum([getsize(join(root, name)) for name in files]),
> print sum([getsize(join(root,name)) from name in files]),

Do you see the difference? ... for ... is the correct syntax, ... from ...
is what Python seems to complain about.

Peter



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to