[EMAIL PROTECTED] wrote: > Is there another possibility of how to solve it just by adding some > lines in script?
I think you have to wrap your script in a shell script #!/bin/sh export LD_LIBRARY_PATH=/path/Linux/rh_linux python shrink_bs_070226.py To avoid that you can have the python script invoke itself, e. g.: #!/usr/bin/env python import os if os.environ.get("YADDA") != "whatever": print "fix environment" os.environ["YADDA"] = "whatever" os.system("yadda.py") raise SystemExit print "YADDA is now %r" % os.environ["YADDA"] print "do your real stuff" Peter -- http://mail.python.org/mailman/listinfo/python-list