Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: Tools you have made for yourself?. Parent comment
import sys file = sys.argv[1]
You could probably do:
if len(sys.argv) > 1: file = sys.argv[1] else: file = input(...)
You could probably do: