Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21994

Re: class checking its own module for an attribute

Date 2012-03-21 13:10 -0400
From Rod Person <rodperson@rodperson.com>
Subject Re: class checking its own module for an attribute
References <20120321112503.00006eb5@unknown> <jkd1dr$uns$1@dough.gmane.org>
Newsgroups comp.lang.python
Message-ID <mailman.867.1332349843.3037.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, 21 Mar 2012 17:59:56 +0100
Peter Otten <__peter__@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@rodperson.com

'Silence is a fence around wisdom'

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: class checking its own module for an attribute Rod Person <rodperson@rodperson.com> - 2012-03-21 13:10 -0400

csiph-web