kpp9c wrote: > that other sillyness i mentioned is not strickly required ... just > dreaming but i know involves some kind of os walk type thing prolly ...
os.walk isn't exactly rocket science... Something similar to this? >>> import os >>> for dir, dirs, files in os.walk('.'): ... txt_files = [x for x in files if x.endswith('.txt')] ... if txt_files: ... print dir, txt_files -- http://mail.python.org/mailman/listinfo/python-list