Archive for March, 2012

Adding environmental variable in Python script

Posted March 12, 2012 By grigoris

Perhaps looking for this (after importing os):

os.environ["VARIABLE"]="/path/to/program"

This is needed for example to set the jref path in order for multidrizzle package to run through a script.