Introduction
Flask is a web application framework written in Python and based on the Werkzeug toolkit (The Python WSGI Utility Library) and Jinja2 template engine, also called a micro framework because it does not force a developer to use a particular tool or library.It has no database abstraction layer, form validation, or any other components where pre-existing third-party libraries provide common functions e.g
- Contains development server and debugger
- support for unit testing
- RESTful request
- Uses Jinja2 template
- assistance for secure cookies
- Extensions available for chrome to enhance desired features
- Google App Engine compatibility
- Unicode-based
here's the code for "hello world" Application written in Flask.
- from flask import Flask<br>app = Flask(__name__)
- @app.route('/')
- def hello_world():
- return 'Hello World!'
- if __name__ == '__main__':
- app.run()
For the complete documentation go to:
Join the conversation! Your thoughts help the community grow.