On Tue, Aug 4, 2015, at 21:32, Michael Torrie wrote:
> In many of my projects I put basic config variables in a file like
> config.py and import that in each module that needs it.  The config
> module doubles as a global namespace for sharing between modules as well.

What about JSONP? That is, a file consisting exactly of "config_data =
[JSON object]" That would get you some of the benefits of having your
config file exist as a python module, but still allow it to be examined
by other tools, written out, etc.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to