You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

하위 디렉토리 전체 순회
def searchWarnCode(indir):
    for root, dirs, filenames in os.walk(indir):
        for f in filenames:
            fileExt = os.path.splitext(f)[1].replace('.','')
            if fileExt in extFilter:
                fileRead( root + '\\' + f ,fileExt)
  • No labels