os set environment variable python code example
Example 1: python create environment variable
import os
os.environ['variable_name'] = 'variable_value'
Example 2: set os environment variable python
os.environ["DEBUSSY"] = "1"
import os
os.environ['variable_name'] = 'variable_value'
os.environ["DEBUSSY"] = "1"