Ballon
pip install -U Flask
Energetic Eland
pip install -U Flask
flash(u'Invalid password provided', 'error')
$ mkdir myproject
$ cd myproject
$ python3 -m venv venv
$ . venv/bin/activate
pip install flask
from flask import Flask
app = Flask(__name__)
app.config['SECRET_KEY'] = 'myawesomesecretkey'
app.config['DEBUG'] = True
if __name__ == '__main__':
app.run(debug=app.config['DEBUG'])