On 09Jun2022 21:35, Dave <d...@looktowindward.com> wrote: >I quite like the format that JSON gives - thanks a lot!
Note that JSON output is JavaScript notation, not Python. The `pprint` module (which has `pprint` and `pformat` functions) outputs Python notation. If you're just writing for human eyes, JSON is fine, though you will want to keep in mind that JSON spells `None` as `null`. Cheers, Cameron Simpson <c...@cskk.id.au> -- https://mail.python.org/mailman/listinfo/python-list