Answers for "python set and use environment variable"

3

creating environment variable in python

$ pip install python-decouple
Posted by: Guest on July-21-2020
0

creating environment variable in python

from decouple import config, Csv

ALLOWED_HOSTS = config('ALLOWED_HOSTS', cast=Csv())
Posted by: Guest on July-08-2021

Code answers related to "python set and use environment variable"

Browse Popular Code Answers by Language