Python - How to import 'Flask' -- flask

Import Flask

To import Flask, Add the following line to the top of your code.

from flask import Flask

 

For more information about Flask:
flask Flask