Looks like you misspelled circle...
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, September 30, 2005 12:19 PM
To: [email protected]
Subject: [Tutor] drawing a face
Hello
I am trying to draw a basic face with eyes, nose, and a mouth. I keep
receiving the following error message:
>>>
Traceback (most recent call last):
File "C:\Documents and Settings\Michele\Desktop\face", line 26, in ?
main()
File "C:\Documents and Settings\Michele\Desktop\face", line 10, in
main
leftEye = Cirlce(Point(285,210), 50)
NameError: global name 'Cirlce' is not defined
also I know i want an oval for the month but I only need half of one how
would i just get half of the oval?
from graphics import*
def main():
win = GraphWin()
shape = Circle(Point(300,200), 40)
shape.setOutline("black")
shape.setFill("orange")
shape.draw(win)
leftEye = Cirlce(Point(285,210), 50)
leftEye.setFill("yellow")
leftEye.setOutline("orange")
rightEye = leftEye.clone()
leftEye.draw(win)
rightEye.draw(win)
sidenose = Line(245, 265)
botnose = Line(245,0)
sidenose.draw(win)
botnose.draw(win)
win.getMouse()
win.close()
main()
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor