dthome.py 214 B

123456789101112131415
  1. #!/usr/bin/env python
  2. # DT Home
  3. #
  4. # Douglas Thrift
  5. #
  6. # dthome.py
  7. import bottle
  8. @bottle.get('/')
  9. def index():
  10. return '<html><body><h1>It works!</h1></body></html>'
  11. if __name__ == '__main__':
  12. bottle.run()