Following good code practices makes this easier. First chunk, write a few paragraphs about the purpose of a module. Second chunk, mock out a few functions with control flow and prints. Third chunk, write some input and a test, fourth chunk, implement the top function, and so on.
Each piece leads to the next, and passes on the context needed to get back on task. Which is exactly what we should be doing anyway.
Each piece leads to the next, and passes on the context needed to get back on task. Which is exactly what we should be doing anyway.