TankorSmash

Untitled

Apr 26th, 2012
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #!/usr/bin/python
  2. from bottle import Bottle, run
  3.  
  4. app = Bottle()
  5.  
  6. @app.route('/hello')
  7. def hello():
  8. return "Hello World!"
  9.  
  10. run(app, host=r'http://www.tankorsmash.com/cgi-bin/hello', port=8080)
Advertisement
Add Comment
Please, Sign In to add comment