Answers for "how to add an environment variable in python environment"

9

python create environment variable

import os
os.environ['variable_name'] = 'variable_value'
Posted by: Guest on April-28-2020
3

creating environment variable in python

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

Code answers related to "how to add an environment variable in python environment"

Python Answers by Framework

Browse Popular Code Answers by Language