k r fry enlightened us with: > I did think maybe it was meant to be "listdir" instead of "istdir", > but that doesn't work either.
And again you don't tell us in what way it doesn't work. Think about what you post from our point of view. Then re-read it, and think about it again. Only if you're sure that we'll be able to fully understand it, hit the 'send' button. That will save us a lot of guessting and asking, and will also get you your answer a lot faster. 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