Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on DotDict: A simple Python library to make chained attributes possible.
i use a lot of defaultdict trees[1], and convert nested dicts to/from flat dicts with dots in their keys[2].
never underestimate the mighty dict.
1. https://github.com/nathants/py-util/blob/6844917fb51e9d24de1...
2. https://github.com/nathants/py-util/blob/6844917fb51e9d24de1...
There are no comments on this comment yet.
i use a lot of defaultdict trees[1], and convert nested dicts to/from flat dicts with dots in their keys[2].
never underestimate the mighty dict.
1. https://github.com/nathants/py-util/blob/6844917fb51e9d24de1...
2. https://github.com/nathants/py-util/blob/6844917fb51e9d24de1...