Best Method for using a Parameter file in a Python Web Service?

Discussion created by kyle969 on Dec 13, 2012
Latest reply on Dec 13, 2012 by kyle969
What is the best method for including environment parameters in a SD file, such as the sde instance name, password, etc.

Our SD file has to migrate through 2 staging servers and to production, we can't recompile for each environment. There isn't a clean way for the script to know what environment it's in, and any config file is compiled within the SD.

What's the best way to have different parameters in each environment?
I've thought about putting them in a table inside a GDB, is there a better way?