Contents

  1. graphics_test.py

graphics_test.py

# Graphics Test Script
# by Sara Sprenkle

from graphics import *

win = GraphWin("My Circle", 200, 200)
point = Point(100,100)
c = Circle(point, 10)
c.draw(win)

c.setOutline(color_rgb(200, 0, 200))

# demonstrate what happens, outside of IDLE, if the line below is commented out.
win.getMouse()
win.close()

Generated by GNU Enscript 1.6.6.