Introduction
Flask processes HTTP requests to let your web app respond to users. It listens for requests and sends back the right answers.
When you want to build a simple website that shows different pages.
When you need to handle form submissions from users.
When you want to create an API that other programs can talk to.
When you want to respond differently based on the URL or request method.
When you want to serve files or data based on user requests.