I'd like to use "semantic indentation"

Paul Rubin no.email at nospam.invalid
Sat Sep 30 21:54:48 EDT 2017


Chris Angelico <rosuav at gmail.com> writes:
> USA:
>     Alabama:
>         Abbeville
>         Addison
>         ...
> and then, as Paul suggested, write a simple parser to read it.

That looks like YAML, which there's already a library for.  I'm not
crazy about it but it might be an ok choice for this.



More information about the Python-list mailing list