[EMAIL PROTECTED] wrote: > Probably I understood it not correctly. What did you mean was to put > that code into my python script "shrink_bs_070226.py" and then calls > script itself?
Yes. > So I took my script "shrink_bs_070226.py" and it starts with: > ********************************** > #!/usr/bin/env python > import sys, re, glob, shutil > import os > > then I put your code in that script > > if os.environ["LD_LIBRARY_PATH"].count('/path/Linux/rh_linux') !=1: > os.environ["LD_LIBRARY_PATH"]=os.environ["LD_LIBRARY_PATH"]+':'+'/ > path/Linux/rh_linux' > os.system("shrink_bs_070226.py") > raise SystemExit > > and here continues my script: > > from qt import * > > ..... > *********************** > > Is it correct? Yes. > BTW: On lines 3:18 I have comments, script description and > modifications, therefore is "from qt import *" on the line 29 The problem must be something else, then. Peter -- http://mail.python.org/mailman/listinfo/python-list