help:python:data_class
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
help:python:data_class [2020/08/11 15:02] – [Data Class in Python] gerhard | help:python:data_class [2020/08/11 15:04] (current) – [Data Class in Python] gerhard | ||
---|---|---|---|
Line 79: | Line 79: | ||
import json | import json | ||
- | json.dumps(dict(data)) | + | json.dumps(dict(data),indent=2) |
</ | </ | ||
Line 86: | Line 86: | ||
<code json> | <code json> | ||
- | '{" | + | { |
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
</ | </ | ||
help/python/data_class.1597158159.txt.gz · Last modified: 2020/08/11 15:02 by gerhard