I made a model using ModelBuilder. User must be able to specify output featureclasses by basename, I do not want to expose the workspace. The workspace therefore needs to be specified in the model environment. The workspace can be derived from the other specifics.
A savvy user can do this in the toolbox window, however, I want to make it automatic. So, I'm looking for a way to set toolbox environment variables by means of python script. My ArcGIS version is 9.3.1. However, I'm interested in advice pertaining to version 10+ as well, since it just might put me on the right track.