import variables def headerwrite(thefile,pagename): header = open(thefile,"a") header.write("\n\n \n \n \n \n \n TCG :: " + pagename + "\n \n \n \n \n
\n") header.close() def footerwrite(thefile): footer = open(thefile,"a") footer.write("
\n \n") footer.close()