I want to update the value of an environment variable in python, on a debian machine and below is my code:
import os os.environ[command[1]] = command[2]