import variables
def headerwrite(thefile,pagename):
header = open(thefile,"a")
header.write("\n\n
\n \n \n \n \n \n " + variables.name + "’s card collection :: " + pagename + "\n \n \n \n \n \n")
header.close()
def footerwrite(thefile):
footer = open(thefile,"a")
footer.write(" \n \n")
footer.close()