How to store properties

Cecil Westerhof Cecil at decebal.nl
Thu Feb 9 04:13:53 EST 2017


On Wednesday  8 Feb 2017 12:26 CET, 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.
> Would a JSON file be a good idea?

Thanks for all the input. I think I go for configparser (as it is
called in python3). It looks very promising.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof



More information about the Python-list mailing list