On Tue, Aug 18, 2009 at 7:57 PM, Jramak<[email protected]> wrote: > Hello > We have developed three custom applications in Python. Each one of > these applications needs a different PYTHONPATH, in addition to > different environment variables to work. Instead of manually setting > the environment variables for each application, what would be the best > way to set PYTHONPATH and other environment variables for a specific > application? We only run one application at a time, not all of them. > We are running Python 2.5.2 and Python 2.4.1 on Win2K. Is a bash > script that sets the environment variables on the application start-up > way to go?
You can modify the search path in each program my adding to sys.path. Kent _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
