[EMAIL PROTECTED] wrote:
> Is there any other reason I might get that error?

Yes, you are using it the wrong way. The correct way is

for root, dirs, files in os.walk(path):
    do something

os.walk returns an iterator which yields root, dirs and files for each
iteration.

Christian

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

Reply via email to