Python: Check Version of Flask

To get The version of Flask, we've many options:

Python interpreter

import flask
flask.__version__

command line

flask --version

pip

Linux:

pip freeze | grep flask

Windows:

pip freeze | findstr "Flask"