On 2010-01-07 10:10 AM, Peter wrote:
Hi
There seems to be several strategies to enhance the old ini-style config
files with real python code, for example:
1) the documentation tool sphinx uses a python file conf.py that is
exefile(d) , but execfile is suppressed in Python 3
Only because it is redundant, not because it is a discouraged approach. You can
still read the file and exec() the resulting string.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
--
http://mail.python.org/mailman/listinfo/python-list