On 16/01/13 21:06, Albert-Jan Roskam wrote: > Is there a builtin function that can set LD_LIBRARY_PATH or equivalents > platform-independently? No. But there is putenv() in the os module. But how well it works across OS I'm not sure. HTH -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/