What extra triple quote? There are 2 sets of triple quotes the counter's and the print's !! in case htmlpage variable is a .py file i must append a print '''html''' in order for .py code to absorve that code properly no?