Is it possible to change environment variables of current process?
More specifically in a python script I want to change LD_LIBRARY_PATH so that on imp
LD_LIBRARY_PATH
well, the environment variables are stored in the dictionary os.environ, so if you want to change , you can do
os.environ["PATH"] = "/usr/bin"