On Wed, 21 Mar 2012 17:59:56 +0100
Peter Otten <__pete...@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, bu
On Wed, 21 Mar 2012 09:56:57 -0700
Chris Rebert wrote:
> On Wed, Mar 21, 2012 at 8:25 AM, Rod Person
> wrote:
> > The question is there a way I can do this with out having to import
> > constants when what it's doing is importing itself. It would seem
> > to me that there should be a way for a
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?
> In order to be able to use constants as command line parameters for
> calling from our batch files I created the class
On Wed, Mar 21, 2012 at 8:25 AM, Rod Person wrote:
> The question is there a way I can do this with out having to import
> constants when what it's doing is importing itself. It would seem to me
> that there should be a way for a module to reference itself. In that
> thinking I have tried
>
> if
We have a module called constants.py, which contains related to server
names, databases, service account users and there passwords.
In order to be able to use constants as command line parameters for
calling from our batch files I created the class below that checks to
make sure the parameter valu