Building your First Flask application in 10 minutes or less

In this recipe, you'll build your first Flask application in 10 minutes or less. Flask is a Python microframework that you can use to create simple web-based applications very quickly. Visit http://flask.pocoo.org/ for all the details.

In this recipe, we're going to keep it simple; however, included with the book is a fully functional Flask application chock-full of the latest JavaScript libraries and CSS themes, ready for customization.

Getting Set Up…

In order to write Flask applications, you first need to install it. If you have the Anaconda distribution of Python, you'll already have it. Just in case you don't, open a terminal and run the following:

pip install flask

To be able to pull ...

Get Python Business Intelligence Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.