Python declarative

Chris Angelico rosuav at gmail.com
Sun Jan 26 00:23:32 EST 2014


On Sun, Jan 26, 2014 at 3:47 PM, Rustom Mody <rustompmody at gmail.com> wrote:
> On Sunday, January 26, 2014 9:36:15 AM UTC+5:30, Chris Angelico wrote:
>> Code isn't something to be afraid of. It's just text files like any
>> other. After all, Python code is a config file for /usr/bin/python, so
>> if you want to change what Python does, just edit its config file!
>
> Windows stores configuration in the registry -- by fiat
> Linux (posix) stores configuration in /etc + ~/.files -- by convention
>
> Which do you think is preferable?

Not exclusively, in either case. Many many things are config files of
various sorts. The terms of the GPL specifically state that a GPL'd
language does not enforce that code written in it is GPL'd, because
it's just (to the GPL code) data files.

Plenty of Windows programs store config files outside the registry.

ChrisA



More information about the Python-list mailing list