Way to manage program state in Python, without OOP? | Hacker News Reader