Keepin constants, configuration values, etc. in Python
Keepin constants, configuration values, etc. in Python - dedicated module or what?
cl at isbd.net cl at isbd.netTue Sep 30 13:30:11 EDT 2014
- Previous message (by thread): Keepin constants, configuration values, etc. in Python - dedicated module or what?
- Next message (by thread): Keepin constants, configuration values, etc. in Python - dedicated module or what?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Rustom Mody <rustompmody at gmail.com> wrote: > > > # docs for first option > > # more docs > > # examples > > # etcetera > > first_option =123 > > > # docs for second option > > second_option = 234 > > > Is that Python code, or is it a sectionless INI file, or what? > > Yeah I was going to say that this is possible > > > There's no difference. > > But there is! Its code that looks like data. > The main trouble with this approach is that I need some way to have the python/config file available at the 'home' end of this as well as at the 'remote' end. I guess I could write a copy of the file into the database but then I have the editing issue again, changing it becomes messy. If it's not in the database then how do I 'tie' it to the data? -- Chris Green ยท
- Previous message (by thread): Keepin constants, configuration values, etc. in Python - dedicated module or what?
- Next message (by thread): Keepin constants, configuration values, etc. in Python - dedicated module or what?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list