hands-on lab

Python: Introduction to Flask

Advanced
Up to 2h
87
3.6/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Learn how to create Python-based web applications using Flask.

Developing web applications and APIs with Python is a common developer task. The Python ecosystem contains many commonly used web application frameworks. Flask is a well established minimal WSGI framework designed to quickly take developers from zero to productive. This lab explores Flask's functionality through building a web application.

Learning Objectives

At the end of this lab you'll be familiar with:

  • Routes
  • Templates
  • Sessions
  • Requests
  • Error handlers

Prerequisites:

  • Proficient with the Python runtime
  • Proficient with the Python language syntax
  • Familiar with the WSGI specification
  • Familiar with the HTTP protocol

Target Audience

  • Python Developers

About the author

Students
111,883
Labs
37
Courses
50
Learning paths
58

Ben Lambert is a software engineer and was previously the lead author for DevOps and Microsoft Azure training content at Cloud Academy. His courses and learning paths covered Cloud Ecosystem technologies such as DC/OS, configuration management tools, and containers. As a software engineer, Ben’s experience includes building highly available web and mobile apps. When he’s not building software, he’s hiking, camping, or creating video games.

Covered topics

Lab steps

Web IDE Review
Introduction to Flask
Getting Started
Image Route
Custom Errors
Auth Decorator
Summary