Re: pythonic way of making a config module

2006-01-18 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > I'm working on an app that will be deployed on several different > servers. In each case, I'll want to change some config info (database > name, paths, etc.) > > In perl, I would have done something like this: > > Package Config; > > $dbname = "somename"; > etc

Re: pythonic way of making a config module

2006-01-18 Thread skip
andrew> I'm working on an app that will be deployed on several different andrew> servers. In each case, I'll want to change some config info (database andrew> name, paths, etc.) andrew> In perl, I would have done something like this: ... andrew> What is a pythonic equiva

Re: pythonic way of making a config module

2006-01-18 Thread Fuzzyman
[EMAIL PROTECTED] wrote: > I'm working on an app that will be deployed on several different > servers. In each case, I'll want to change some config info (database > name, paths, etc.) > > In perl, I would have done something like this: > > Package Config; > > $dbname = "somename"; > etc

pythonic way of making a config module

2006-01-18 Thread andrew . fabbro
I'm working on an app that will be deployed on several different servers. In each case, I'll want to change some config info (database name, paths, etc.) In perl, I would have done something like this: Package Config; $dbname = "somename"; etc. And then use'd the module and referenced