k r fry enlightened us with:
> Traceback (most recent call last):
> File "katiescint.py", line 153, in ?
> for subdir in os.path.listdir(DATADIR): #loop through
> list of strings
> AttributeError: 'module' object has no attribute 'listdir'
But why do you use that function then? listdir is in the module os,
not in os.path.
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
--
http://mail.python.org/mailman/listinfo/python-list