hands-on lab

Python: Introduction to Flask

Difficulty: Advanced
Duration: Up to 2 hours
Students: 166
Rating: 4.3/5
On average, students complete this lab in1h
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

Hands-on Lab UUID

Lab steps

0 of 7 steps completed.Use arrow keys to navigate between steps. Press Enter to go to a step if available.
  1. Web IDE Review
  2. Introduction to Flask
  3. Getting Started
  4. Image Route
  5. Custom Errors
  6. Auth Decorator
  7. Summary