how to use env variables in python using pythobdotenv code example Example: python create environment variable import os os.environ['variable_name'] = 'variable_value'