Created
July 7, 2010 16:51
-
-
Save nikgraf/466942 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Flask | |
----- | |
Flask is a microframework for Python based on Werkzeug, Jinja 2 and good | |
intentions. And before you ask: It's BSD licensed! | |
Flask is Fun | |
```````````` | |
:: | |
from flask import Flask | |
app = Flask(__name__) | |
@app.route("/") | |
def hello(): | |
return "Hello World!" | |
if __name__ == "__main__": | |
app.run() | |
And Easy to Setup | |
````````````````` | |
:: | |
$ easy_install Flask | |
$ python hello.py | |
* Running on http://localhost:5000/ | |
Links | |
````` | |
* `website <http://flask.pocoo.org/>`_ | |
* `documentation <http://flask.pocoo.org/docs/>`_ | |
* `development version | |
<http://github.com/mitsuhiko/flask/zipball/master#egg=Flask-dev>`_ | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment