Skip to content

Instantly share code, notes, and snippets.

@piroux
Created October 23, 2010 10:35
Show Gist options
  • Save piroux/642055 to your computer and use it in GitHub Desktop.
Save piroux/642055 to your computer and use it in GitHub Desktop.
Hello World for the microframework Flask in python
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
return "Hello World!"
if __name__ == '__main__':
app.run()
@piroux
Copy link
Author

piroux commented Jan 15, 2011

_warning_: embed in the blog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment