Steve Holden wrote: > :::::::::::::: > one.py > :::::::::::::: > import os > os.environ['STEVE'] = "You are the man" > os.system("python two.py") > print "Ran one" > :::::::::::::: > two.py > :::::::::::::: > import os > print "STEVE is", os.environ['STEVE'] > print "Ran two" > [EMAIL PROTECTED] tmp]$ python one.py > STEVE is You are the man > Ran two > Ran one > [EMAIL PROTECTED] tmp]$ > > Hope this helps. > > regards > Steve
Thanks Steve, you're quite right, you are the man. And thanks to all the rest of you for your kind help and patient understanding. I have learned quite a lot and is about to consider my self advanced to the status of Python newbie. So here is my final question: Do I call the .sh script with a .py script like this: os.system("/path/to/the/script/startupscript.sh") -- http://mail.python.org/mailman/listinfo/python-list