RTD Training & Development

Flask Web Programming for Python Programmers

Call us on +44 (0)1225 66 72 72 or send us a message

Flask Web Programming for Python Programmers

4 days hands-on £1,940+VAT

This course can be delivered over the web

Next scheduled date:
Monday November 6th, 2017 Enrol Now!

For those who already know Python. Covers the core Flask framework along with extensions for database access, email, etc.


Flask Basics

  • Initialisation
  • Routing
  • View Functions
  • Static Files
  • Request/Response Cycle
  • Extensions


  • The Jinja2 Templating Engine
  • Variables
  • Control Structures
  • Links
  • Custom Error Pages

Web Forms

  • The Flask-WTF Extension
  • CSRF Protection
  • Form Classes
  • Form Processing
  • User Sessions


  • Python Database Frameworks
  • The Flask-SQLAlchemy Extension
  • Data Definition
  • Data Manipulation
  • Using Databases in View Functions


  • The Flask-Mail Extension
  • Integrating Email
  • Asynchronous Sending

Application Structure

  • Directory Structure
  • Configuration Options
  • The Requirements File
  • The Launch Script
  • Unit Testing


Participants will gain a firm understanding of the essentials of the Flask framework and some of the most useful extensions to the framework.


On successful completion of this course, participants will be able to:

  • Write, test and deploy Flask applications
  • Utilise the Jinja2 templating engine in Flask applications
  • Create interactive web applications with Flask-WTF
  • Access databases with Flask-SQLAlchemy
  • Send emails with Flask-Mail


This course is intended for programmers and web designers who wish to create rich web applications using the Flask micro-framework.


Some familiarity with HTML would be helpful but otherwise this course assumes no prior knowledge.

Participants with no prior knowledge of Python should consider our Introduction to Flask Programming course