''' A simple Hello,World in web.py!'''# make sure the 'web' dir from web.py is in # the same directoryimportweb# the url mapper, maps /(anything!) to the # 'hello' class. urls=('/(.*)','hello')# create the actual applicationapp=web.application(urls,globals())# a class for handling url requests# to handle requests, the class must have a # GET method that returns text classhello:defGET(self,name):ifnotname:name='world'return'Hello, '+name+'!'# just include these 2 lines, which will seem magical for# now, don't worry about it!if__name__=="__main__":app.run()