This preview shows page 1. Sign up to view the full content.
Unformatted text preview: ch pauses. Pausing for Input
Another place we pause: raw_input("Enter a name: ") We call raw_input() function of Python. Python asks OS to report keystrokes, pauses until OS comes back with a character. Python collects characters in a string, until it sees ''\n', then returns the string to our program. \ Similar pauses for reading files, internet access... 2 11/30/2007 Graphics Window
Graphics window is actually it's own program, started by our program. Our calls to graphics functions send messages graphics...
View Full Document
This note was uploaded on 04/14/2008 for the course ECS 10 taught by Professor Amenta during the Fall '07 term at UC Davis.
- Fall '07