Skip to content
Alice Zoë Bevan–McGregor edited this page Sep 13, 2019 · 5 revisions
from web.core import Application


class Root:
	def __init__(self, ctx): pass
	
	index = open('index.html', 'r')
	products = open('products.html', 'r')
	
	class company:
		def __init__(self, ctx): pass
		
		about = open('about.html', 'r')
		investing = open('investing.html', 'r')


if __name__ == '__main__':
	Application(Root).serve('wsgiref')
Clone this wiki locally