def walkDir(d):
    for (dirName, subdirList, fileList) in os.walk(d):
        for fname in fileList:
            (yield ('%s/%s' % (dirName, fname)))
def walkDir(d):
    for (dirName, subdirList, fileList) in os.walk(d):
        for fname in fileList:
            (yield ('%s/%s' % (dirName, fname)))