Skip to content

Instantly share code, notes, and snippets.

@reiddraper
Created March 11, 2010 22:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reiddraper/329737 to your computer and use it in GitHub Desktop.
Save reiddraper/329737 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import web
urls = ('/(.*)', 'hello')
app = web.application(urls, globals())
class hello:
def GET(self, name):
return 'hello, world'
if __name__ == '__main__':
app.run()
--
Reid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment