# hello_world.py
from webpie import WPApp, WPHandler
import time

class MyHandler(WPHandler):						

	def hello(self, request, relpath):				
		return "Hello, World!\n"					

	def time(self, request, relpath):			# 1
		return time.ctime()+"\n", "text/plain"		# 2

application = WPApp(MyHandler)
