Re: [Tutor] color vector

2005-11-06 Thread Kent Johnson
Shi Mu wrote: > why the following code does not work? In what way does it not work? Kent ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] color vector

2005-11-06 Thread Shi Mu
why the following code does not work? """ Tkinter Color Vector Objects Just the bare minimum to create re-sizable and re-usable color icons in tkinter. """ import Tkinter as Tk import math """ Get points for a unit regular-polygon with n sides. """ def getregpoly(sides): points = [] ang