{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}


Pausing for input another place we pause rawinputenter

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

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

{[ snackBarMessage ]}

Ask a homework question - tutors are online