Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How to Create a Web Application in Python Using Flask

Dave Gray via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Create a Python web application that retrieves and displays weather information for major cities using Flask. Learn to set up a virtual environment, install necessary packages, handle environment variables, and structure your project with static files and templates. Develop a weather module to interact with the OpenWeatherMap API, implement Flask routing, and create a user-friendly interface. Explore how to switch to a production server, handle unexpected user input, and ultimately deploy your application to the web. This comprehensive tutorial covers everything from project setup to deployment, making it ideal for Python beginners looking to build their first web application.

Syllabus

Intro
Welcome
Overview
Create & activate a Virtual Environment
Install packages with PIP
.gitignore and .env files
static and templates
Create the weather module
Getting started with Flask
Switching to a production server
Weather Results template
Running the app
Handling unexpected input
Deploying the app to the web

Taught by

Dave Gray

Reviews

Start your review of How to Create a Web Application in Python Using Flask

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.