Skip to content

Instantly share code, notes, and snippets.

@colwilson
Created November 5, 2012 08:25
Show Gist options
  • Save colwilson/4016000 to your computer and use it in GitHub Desktop.
Save colwilson/4016000 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import sys
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!"
if __name__ == '__main__':
app.run(host='localhost', port=8080)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment