[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
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
[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
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