Enviroment

Robert Milkowski milek at task.gda.pl
Fri Dec 10 10:29:01 EST 1999


Hi.
	I call the program in Python as CGI.
I need to set up LD_LIBRARY_PATH enviroment to "/usr/lib:/lib:/mnt/1/NSIN/lib:/mnt/1/NSIN/egcs-libs:" before importing some modules.
How can I do it in Python? os.putennv(LD_LIBRARY_PATH,"/usr/lib:/lib:/mnt/1/NSIN/lib:/mnt/1/NSIN/egcs-libs:/mnt/1/NSIN/linux-libs:")
doesn't work.


-- 
							Robert Milkowski
							milek at task.gda.pl




More information about the Python-list mailing list