Graphics Programming with graphics.py

Import option #1

The following creates a unique instance of a window of data type GraphWin. The window will apear and you can communicate with it via the name you assigned it to. In this case, it will be win.

Import option #2

Do not import this way…

Drawing Examples

What can you do with graphics?

More Drawing Examples

Making a Circle

Adding a label to the circle

Making a Rectangle

Drawing our utility point objects, just for fun

Making a line

Making an Oval

Making a Polygon