width if len(sys argv= width int(sys argv[ ]originx originy width / makewidgets(mainloop(default widthheight width cmdline argsame as circle radius on default tk root need /trunc div the circle defaults to pixels wide unless you pass width on the command line given number of points on circlethis script marks out the circle in clockwise order every time you press plotby drawing lines out from the center to small rectangles at points on the circle' shape move the slider to plot different number of points and click the checkbox to make the drawing happen slow enough to notice the clockwise order in which lines and points are drawn (this forces the script to update the display after each line is drawnfigure - shows the result for plotting points with the circle width set to on the command lineif you ask for and points on the circlethe relationship to clock faces and hands starts becoming clearer figure - plottergui in action pyclockan analog/digital clock widget