Ecs10 11 30

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: 11/30/2007 Graphics Revisited gr.text("Go gr.text("Go Aggies", 200,150,size=20) ECS 10 11/29 Go Aggies G A i (200,150) 20 Revisiting Graphics Animation loop: alive = True while alive: hile li e: alive = gr.sleep(.5) gr.sleep(.5) The gr.sleep() function gr.sleep() Pauses our program for number of seconds in argument. Gives user a chance to kill the graphics window Returns T R True if graphics window i still alive, hi i d is ill li False if it has been killed. The Bigger Picture Multiple programs are usually running at once on your computer (Word, Firefox...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online