hibtc / madgui-old

[OBSOLETE] GUI for accelerator simulations using MAD-X
MIT License
1 stars 0 forks source link

config file #14

Closed coldfix closed 10 years ago

coldfix commented 10 years ago

Use config file to store

Config files can be accessed with ConfigParser.

Note, that the second issue probably is easier to accomplish using argparse rather than docopt. It might be possible with docopt to use a defaultdict with one section of the config file as the fallback.

coldfix commented 10 years ago

ConfigParser is a PITA. Possible alternatives for .conf files

.py:

.yaml: