Hi! But fnmatch (or glob) is unix-like. With few error in windows (sample ? trye '*.' ) Test this code rather: import os l=os.popen4('dir c:\\python\\*.pyw /S /B')[1].readlines() print ''.join(l) @-salutations -- Michel Claveau