Answers for "access env variable in flask"

1

access env variable in flask

import os
print os.environ.get('key')

>>> value
Posted by: Guest on April-11-2022
0

set environment variable flask app

app.config['ENVIRONMENT_VAR'] = "var name here"
Posted by: Guest on April-20-2021

Code answers related to "access env variable in flask"

Python Answers by Framework

Browse Popular Code Answers by Language