Skip to content

Instantly share code, notes, and snippets.

@ecylmz
Forked from seyyah/graphWinTest.py
Created December 27, 2010 15:31
Show Gist options
  • Save ecylmz/756211 to your computer and use it in GitHub Desktop.
Save ecylmz/756211 to your computer and use it in GitHub Desktop.
from graphics import *
def main():
win = GraphWin("My Circle", 100, 100)
c = Circle(Point(50,50), 10)
c.draw(win)
win.getMouse() # Pause to view result
win.close() # Close window when done
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment