hands-on lab

Python: Introduction to Flask

Difficulty: Advanced
Duration: Up to 2 hours
Students: 120
Rating: 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

Updates:

October 16th, 2024 - Updated Flask version and images to reflect latest ui

Covered topics

Lab steps

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