[Tutor] Set LD_LIBRARY_PATH and equivalents platform-independently
Dave Angel
d at davea.name
Thu Jan 17 03:10:31 CET 2013
On 01/16/2013 07:05 PM, Alan Gauld wrote:
> 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.
>
I don't recall enough about Windows to be sure whether putenv would
work, but the environment variable Windows uses to search for DLL's is
certainly not LD_LIBRARY_PATH
--
DaveA
More information about the Tutor
mailing list