Answers for "set up environment variables python"

9

python create environment variable

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

python set windows environment variable

os.environ['API_PASSWORD'] = 'secret'
Posted by: Guest on May-03-2021

Code answers related to "set up environment variables python"

Python Answers by Framework

Browse Popular Code Answers by Language