Re: Passing options around your program

2006-05-07 Thread alisonken1
Leo Breebaart wrote: > I have another question where I am not so much looking for a > solution but rather hoping to get some feedback on *which* > solutions people here consider good Pythonic ways to approach a > issue. > > The situation is this: I am writing fairly large console scripts > in Pytho

Re: Passing options around your program

2006-05-07 Thread [EMAIL PROTECTED]
When I have done this, I've used the last option -- creating a "config" module which can be imported wherever the configuration info is needed. (This module also handles any config files and/or Windows registry keys needed.) Using a Borg is a nice idea... but that ConfigBorg is probably going to

Passing options around your program

2006-05-07 Thread Leo Breebaart
I have another question where I am not so much looking for a solution but rather hoping to get some feedback on *which* solutions people here consider good Pythonic ways to approach a issue. The situation is this: I am writing fairly large console scripts in Python. They have quite a few command-l