devraj, since it's your application, it's probably best that you maintain your own configuration files because those are specific application settings that you're adjusting, not App Engine settings. plus Python's syntax is so straight forward that i've seen many companies simply use a separate .py consisting of one or more dictionaries which works just fine as a config file.
if you want a more "traditional" style configuration file format, the Python has the ConfigParser module: http://docs.python.org/library/configparser.html finally, i can't believe i'm saying this but, you don't want to be too tied down or become dependent on App Engine. perhaps at some point, your app will be so wildly successful that you need to run your app on a different platform. if you keep it as pure Python, you can take it anywhere you have Python execution ability, not just App Engine. best regards, -wesley On Mon, Jan 4, 2010 at 6:30 PM, Devraj Mukherjee <[email protected]> wrote: > Hi all, > > My AppEngine application is written in Python. As the application code > base becomes larger are experiencing the need to use configuration > variables for our own applications. Example are we running in Debug > mode or not, admin email addresses (used to send internal > notifications) etc. > > Currently we are maintaining this in a common Python file as varaibles. > > Does any one else agree if the AppEngine environment could provide > this as a feature, so its not part of the application but rather a > part of the environment? > > Would appreciate comments. -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "Core Python Programming", Prentice Hall, (c)2007,2001 "Python Fundamentals", Prentice Hall, (c)2009 http://corepython.com wesley.j.chun :: [email protected] developer relations :: google app engine
-- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
