Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Do binary files contain more 1s or 0s?.
binary = bin(decimal)[2:]
A smaller nit, these lines:
hexadecimal = binascii.hexlify(byte) decimal = int(hexadecimal, 16)
decimal = byte[0]
A smaller nit, these lines:
can be just