python add environment variable code example
Example 1: python create environment variable
import os
os.environ['variable_name'] = 'variable_value'
Example 2: how to add variables python
x = 5
y = 10
x+y
#result = 15
import os
os.environ['variable_name'] = 'variable_value'
x = 5
y = 10
x+y
#result = 15