SetUP Environment Python code example
Example 1: python create environment variable
import os
os.environ['variable_name'] = 'variable_value'
Example 2: how to create a virtual environment in python
source env/bin/activate
import os
os.environ['variable_name'] = 'variable_value'
source env/bin/activate