Patching the typical output in the sys module is just what it seems like, but you must know about a number of gotchas: Typical examples include updating the development of an extended-working operation or prompting the person for enter. From the latter scenario, you want the consumer to type in the answer on the exact same line: Created to gu