> > The closest thing you can do is that: > > -myScript.py-------------------------------------- > print 'export MY_VARIABLE=value' > -------------------------------------------------- > > -myScript.sh-------------------------------------- > python myScript.py > /tmp/chgvars.sh > . /tmp/chgvars.sh > --------------------------------------------------
Can I write a .py script that calls a .sh script that executes the export command and then calls another .py script (and how would the first .py script look)? That would be much more what is my basic problem. Thanks Chris -- http://mail.python.org/mailman/listinfo/python-list