#! /usr/bin/env python3 #=============================== # # html_index # # 2021/02/09 Kuninori Morimoto #=============================== import html_base from html_base import html #==================================== # # periject_html # #==================================== class periject_html(html_base.myhtml): #-------------------- # print #-------------------- def print(self): # | | | # |menu|body| # | | | with html("frameset", {"cols":"{},*".format(self.config("html-default-cols"))}): html("frame", {"src":"./html/menu.html", "name":"menu"}).print() html("frame", {"src":"./html/subindex.html", "name":"body"}).print() #==================================== # # As command # #==================================== if __name__=='__main__': periject_html().print()