How to store properties
Neil Cerutti
neilc at norwich.edu
Wed Feb 8 08:41:23 EST 2017
On 2017-02-08, Cholo Lennon <chololennon at hotmail.com> wrote:
> On 02/08/2017 08:26 AM, Cecil Westerhof wrote:
>> In Java you (can) use a properties file store configuration.
>> What is the best way to do something like that in Python? I
>> saw ConfigParser, but have the feeling that it is not really
>> used.
>
> I use it a lot ;-)
Me too. I wrote a script once to convert all my .cfg files to
JSON at one point while trying out a switch from Python to Go,
but never made the changeover.
--
Neil Cerutti
More information about the Python-list
mailing list