How to snapshot the state of a Python program? | Dark Hacker News