import os print os.environ.get('key') >>> value
> set FLASK_APP=yourapplication
app.config['ENVIRONMENT_VAR'] = "var name here"
(venv) $ export FLASK_APP=microblog.py
export FLASK_APP=application.py