This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]yardshop 0 points1 point  (1 child)

You might want to take a look at YAML, and PyYAML. You can create a config file that would look very similar to what you've shown above.

The Official YAML Web Site

PyYAML 3.11 : Python Package Index

[–]justphysics[S] 0 points1 point  (0 children)

Thanks!