All pastes #395737 Raw Edit

Someone

public text v1 · immutable
·published 2007-03-15 07:58 UTC
rendered paste body
def cull ( filepath ) :
    file = open(filepath, 'rb')
    html = file.read()
    file.close()
    p = re.compile(r'<HTML>', re.IGNORECASE)
    if p.match(html):
        return
    else:
        fileList.remove(filepath)