class checking its own module for an attribute
Rod Person
rodperson at rodperson.com
Wed Mar 21 13:10:41 EDT 2012
On Wed, 21 Mar 2012 17:59:56 +0100
Peter Otten <__peter__ at web.de> wrote:
> Rod Person wrote:
>
> > We have a module called constants.py, which contains [whatever]
> > related to server names, databases, service account users and their
> > passwords.
>
> Passwords?
>
Yes, not the best thing, but they are only service account that run
nightly batch jobs. Everyone in our IT department knows these password
and users. I only deploy the .pyo or .pyc files for this module,
although I'm looking into a better way than that.
--
Rod Person http://www.rodperson.com rodperson at rodperson.com
'Silence is a fence around wisdom'
More information about the Python-list
mailing list