#! /usr/bin/env python3 from os import listdir from os.path import isfile, join testdirs = [f for f in listdir( "test-pages") if not isfile(join("test-pages", f))] file = open("index.html", "w") file.write("""
""") file.close()