#!/usr/bin/python import datetime import theme class readHead(): #outHead = "" sTime = [] sTitle = "" sTheme = "basicTheme" def __init__(self, sTitle, sTheme = "basicTheme"): self.sTitle = sTitle # self.outHead = "" self.stime = [] self.sTheme = sTheme def __str__(self): return(str(self.genHead())) #TODO: Append CSS, navbar, sidebar, footer # Start genHead() def genHead(self): # Generate html
element getTime = datetime.datetime.now() timeMod = str(getTime.strftime("%A, %B %d, %Y at %X UTC−06:00")) #TODO: I don't want to hard-code this but the %z utc offset isn't printing timeCreate = timeMod headerStr = "\n\n\n\t\n\t