Re: How to do module configuration properly

2010-10-22 Thread John Nagle
On 10/22/2010 4:22 AM, Jan Kosinski wrote: I have created a python module, which contains a bunch of utility functions that use a number of global variables (directory and file names, etc.). I want to move that global variables to an external configuration file and I want to load all global vari

How to do module configuration properly

2010-10-22 Thread Jan Kosinski
I have created a python module, which contains a bunch of utility functions that use a number of global variables (directory and file names, etc.). I want to move that global variables to an external configuration file and I want to load all global variables from that configuration file when mod