config root man

Current Path : /usr/local/lib/python2.5/lib-tk/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/lib-tk/turtle.pyc

³ò
h”Rc@s€dZddkTddklZddkZddddd	gZd
efd„ƒYZdfd
„ƒYZe	a
e	ae	ada
dae	ae	adadefd„ƒYZd„Zdefd„ƒYZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd „Zd!„Z d"„Z!d#d$„Z"d%„Z#d&„Z$d'„Z%e	d(„Z&d)„Z'd*„Z(d+„Z)d,„Z*d-„Z+d.„Z,d/„Z-d0„Z.d1„Z/d2„Z0d3„Z1d4„Z2xBe3eƒD]4Z4e4i5d5ƒoei6e4ie7e4ƒ_nqðWd6„Z8d7„Z9d8„Z:d9„Z;e<d:jo#e:ƒed;ƒe;ƒe0ƒndS(<s4
Turtle graphics is a popular way for introducing programming to
kids. It was part of the original Logo programming language developed
by Wally Feurzeig and Seymour Papert in 1966.

Imagine a robotic turtle starting at (0, 0) in the x-y plane. Give it
the command turtle.forward(15), and it moves (on-screen!) 15 pixels in
the direction it is facing, drawing a line as it moves. Give it the
command turtle.left(25), and it rotates in-place 25 degrees clockwise.

By combining together these and similar commands, intricate shapes and
pictures can easily be drawn.
iÿÿÿÿ(t*(tsleepNtfastesttfasttnormaltslowtslowesttErrorcBseZRS((t__name__t
__module__(((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRstRawPencBsFeZd„Zdd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d	„Z
d
„Zd„Zd„Z
d
„Zd„Zd„Zed„Zd„Zd„Zd„Zd#d„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z!d„Z"d „Z#gd!„Z$d"„Z%RS($cCsN||_g|_d|_d|_d|_d|_|iƒ|iƒdS(Niii
g(t_canvast_itemst_tracingt_arrowt_delayt_angletdegreestreset(tselftcanvas((s)/usr/local/lib/python2.5/lib-tk/turtle.pyt__init__s						
g€v@cCsC|io|i|i||_n||_t|d|_dS(s` Set angle measurement units to degrees.

        Example:
        >>> turtle.degrees()
        gà?N(Rt_fullcircletpit
_invradian(Rt
fullcircle((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR&s
	cCs|idtƒdS(sd Set the angle measurement units to radians.

        Example:
        >>> turtle.radians()
        g@N(RR(R((s)/usr/local/lib/python2.5/lib-tk/turtle.pytradians3scCsç|i}|iiƒ|iƒ}|iƒ}|djo|d}n|djo|d}nt|ƒdt|ƒdf|_|i|_d|_d|_d|_	d|_
d|_g|_|i
ƒ|iƒiƒdS(	sD Clear the screen, re-center the pen, and set variables to
        the default values.

        Example:
        >>> turtle.position()
        [0.0, -22.0]
        >>> turtle.heading()
        100.0
        >>> turtle.reset()
        >>> turtle.position()
        [0.0, 0.0]
        >>> turtle.heading()
        0.0
        itwidththeightg@gtblackiN(Rtupdatetwinfo_widthtwinfo_heighttfloatt_origint	_positionRt_drawingt_widtht_colort_fillingt_pathtcleart_rootttkraise(RRRR((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR;s$	


#						
cCs^|idƒ|i}|i}g|_x|D]}|i|ƒq/W|iƒ|iƒdS(sb Clear the screen. The turtle does not move.

        Example:
        >>> turtle.clear()
        iN(tfillRRtdeletet_delete_turtlet_draw_turtle(RRtitemstitem((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR)]s
			
cCs/||_|ip|iƒn|iƒdS(sñ Set tracing on if flag is True, and off if it is False.
        Tracing means line are drawn more slowly, with an
        animation of an arrow along the line.

        Example:
        >>> turtle.tracer(False)   # turns off Tracer
        N(R
R.R/(Rtflag((s)/usr/local/lib/python2.5/lib-tk/turtle.pyttracerls	
cCsc|i\}}}||t|i|iƒ}||t|i|iƒ}|i||ƒdS(s Go forward distance steps.

        Example:
        >>> turtle.position()
        [0.0, 0.0]
        >>> turtle.forward(25)
        >>> turtle.position()
        [25.0, 0.0]
        >>> turtle.forward(-75)
        >>> turtle.position()
        [-50.0, 0.0]
        N(R#tcosRRtsint_goto(Rtdistancetx0ty0tstarttx1ty1((s)/usr/local/lib/python2.5/lib-tk/turtle.pytforwardys
cCs|i|ƒdS(së Go backwards distance steps.

        The turtle's heading does not change.

        Example:
        >>> turtle.position()
        [0.0, 0.0]
        >>> turtle.backward(30)
        >>> turtle.position()
        [-30.0, 0.0]
        N(R=(RR7((s)/usr/local/lib/python2.5/lib-tk/turtle.pytbackward‹scCs%|i||i|_|iƒdS(s] Turn left angle units (units are by default degrees,
        but can be set via the degrees() and radians() functions.)

        When viewed from above, the turning happens in-place around
        its front tip.

        Example:
        >>> turtle.heading()
        22
        >>> turtle.left(45)
        >>> turtle.heading()
        67.0
        N(RRR/(Rtangle((s)/usr/local/lib/python2.5/lib-tk/turtle.pytleft™scCs|i|ƒdS(s` Turn right angle units (units are by default degrees,
        but can be set via the degrees() and radians() functions.)

        When viewed from above, the turning happens in-place around
        its front tip.

        Example:
        >>> turtle.heading()
        22
        >>> turtle.right(45)
        >>> turtle.heading()
        337.0
        N(R@(RR?((s)/usr/local/lib/python2.5/lib-tk/turtle.pytrightªscCs
d|_dS(s^ Pull the pen up -- no drawing when moving.

        Example:
        >>> turtle.up()
        iN(R$(R((s)/usr/local/lib/python2.5/lib-tk/turtle.pytupºscCs
d|_dS(s[ Put the pen down -- draw when moving.

        Example:
        >>> turtle.down()
        iN(R$(R((s)/usr/local/lib/python2.5/lib-tk/turtle.pytdownÂscCst|ƒ|_dS(s\ Set the line to thickness to width.

        Example:
        >>> turtle.width(10)
        N(R!R%(RR((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRÊsc	
GsÎ|p
td‚nt|ƒdjo·|d}t|ƒtdƒjocy%|iiddddd|ƒ}Wn&tij
otd|f‚nX|i|ƒdSny|\}}}Wqtd|f‚qXn.y|\}}}Wntd	|f‚nXd|jo
djnpt‚d|jo
djnpt‚d|jo
djnpt‚d
}d}|idt	|||ƒt	|||ƒt	|||ƒfƒdS(
sb Set the pen color.

        Three input formats are allowed:

            color(s)
            s is a Tk specification string, such as "red" or "yellow"

            color((r, g, b))
            *a tuple* of r, g, and b, which represent, an RGB color,
            and each of r, g, and b are in the range [0..1]

            color(r, g, b)
            r, g, and b represent an RGB color, and each of r, g, and b
            are in the range [0..1]

        Example:

        >>> turtle.color('brown')
        >>> tup = (0.2, 0.8, 0.55)
        >>> turtle.color(tup)
        >>> turtle.color(0, .5, 0)
        sno color argumentsiitR,sbad color string: %rNsbad color sequence: %rsbad color arguments: %rgào@gà?s
#%02x%02x%02x(
RtlenttypeRtcreate_linetTkintertTclErrort
_set_colortAssertionErrortint(	Rtargstcolortidtrtgtbtxty((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRNÒs2

%
%%%cCs||_|iƒdS(N(R&R/(RRN((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRJs	c
	Cs |i\}}|d}|ii||dt|ƒddd|iƒ}|ii|ƒ|o2|ii|ƒ\}}}}	|i||	ƒn|i	ƒdS(s Write text at the current pen position.

        If move is true, the pen is moved to the bottom-right corner
        of the text. By default, move is False.

        Example:
        >>> turtle.write('The race is on!')
        >>> turtle.write('Home = (0, 0)', True)
        ittexttanchortswR,N(
R#Rtcreate_texttstrR&RtappendtbboxR6R/(
RRUtmoveRSRTR1R8R9R;R<((s)/usr/local/lib/python2.5/lib-tk/turtle.pytwrite	s

cCsÁ|ioƒt|iƒ}|idj}t|ƒdjoN|iid|h|id<|d<ƒ}|ii|ƒ|ii	ƒqng|_||_|o|ii|i
ƒndS(s} Call fill(1) before drawing the shape you
         want to fill, and fill(0) when done.

        Example:
        >>> turtle.fill(1)
        >>> turtle.forward(100)
        >>> turtle.left(90)
        >>> turtle.forward(100)
        >>> turtle.left(90)
        >>> turtle.forward(100)
        >>> turtle.left(90)
        >>> turtle.forward(100)
        >>> turtle.fill(0)
        iitpolygonR,tsmoothN(R'ttupleR(RERt_createR&RRZRR#(RR2tpathR_R1((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR,s
		cCs|ig|_d|_dS(sÔ Called just before drawing a shape to be filled.
            Must eventually be followed by a corresponding end_fill() call.
            Otherwise it will be ignored.

        Example:
        >>> turtle.begin_fill()
        >>> turtle.forward(100)
        >>> turtle.left(90)
        >>> turtle.forward(100)
        >>> turtle.left(90)
        >>> turtle.forward(100)
        >>> turtle.left(90)
        >>> turtle.forward(100)
        >>> turtle.end_fill()
        iN(R#R(R'(R((s)/usr/local/lib/python2.5/lib-tk/turtle.pyt
begin_fill;scCs|idƒdS(sX Called after drawing a shape to be filled.

        Example:
        >>> turtle.begin_fill()
        >>> turtle.forward(100)
        >>> turtle.left(90)
        >>> turtle.forward(100)
        >>> turtle.left(90)
        >>> turtle.forward(100)
        >>> turtle.left(90)
        >>> turtle.forward(100)
        >>> turtle.end_fill()
        iN(R,(R((s)/usr/local/lib/python2.5/lib-tk/turtle.pytend_fillNsc	Cs|d	jo
|i}nt|ƒ|i}dttdt|ƒddƒ|ƒ}d||}d|}d|t||iƒ}|djo|||}}}n|i|ƒx.t|ƒD] }|i	|ƒ|i|ƒqÍW|i
|ƒd	S(
sc Draw a circle with given radius.
        The center is radius units left of the turtle; extent
        determines which part of the circle is drawn. If not given,
        the entire circle is drawn.

        If extent is not a full circle, one endpoint of the arc is the
        current pen position. The arc is drawn in a counter clockwise
        direction if radius is positive, otherwise in a clockwise
        direction. In the process, the direction of the turtle is
        changed by the amount of the extent.

        >>> turtle.circle(50)
        >>> turtle.circle(120, 180)  # half a circle
        iig@g€M@gð?gà?g@iN(tNoneRtabsRLtminR5RR@trangeR=RA(	Rtradiustextenttfractstepstwtw2tlti((s)/usr/local/lib/python2.5/lib-tk/turtle.pytcircle^s

+




cCs|iS(sj Return the turtle's current heading.

        Example:
        >>> turtle.heading()
        67.0
        (R(R((s)/usr/local/lib/python2.5/lib-tk/turtle.pytheading|scCs||_|iƒdS(s` Set the turtle facing the given angle.

        Here are some common directions in degrees:

           0 - east
          90 - north
         180 - west
         270 - south

        Example:
        >>> turtle.setheading(90)
        >>> turtle.heading()
        90
        >>> turtle.setheading(128)
        >>> turtle.heading()
        128
        N(RR/(RR?((s)/usr/local/lib/python2.5/lib-tk/turtle.pyt
setheading…s	cCs1|iiƒ}|djo|id}n|S(sq Returns the width of the turtle window.

        Example:
        >>> turtle.window_width()
        640
        iR(RR(RR((s)/usr/local/lib/python2.5/lib-tk/turtle.pytwindow_widthšs
cCs1|iiƒ}|djo|id}n|S(sr Return the height of the turtle window.

        Example:
        >>> turtle.window_height()
        768
        iR(RR (RR((s)/usr/local/lib/python2.5/lib-tk/turtle.pyt
window_height¦s
cCs1|i\}}|i\}}||||gS(s€ Return the current (x, y) location of the turtle.

        Example:
        >>> turtle.position()
        [0.0, 240.0]
        (R"R#(RR8R9R;R<((s)/usr/local/lib/python2.5/lib-tk/turtle.pytposition²scCs6|i\}}|i\}}|i|||ƒdS(sÉ Set the turtle's x coordinate to be xpos.

        Example:
        >>> turtle.position()
        [10.0, 240.0]
        >>> turtle.setx(10)
        >>> turtle.position()
        [10.0, 240.0]
        N(R"R#R6(RtxposR8R9R;R<((s)/usr/local/lib/python2.5/lib-tk/turtle.pytsetx½s
cCs6|i\}}|i\}}|i|||ƒdS(sÆ Set the turtle's y coordinate to be ypos.

        Example:
        >>> turtle.position()
        [0.0, 0.0]
        >>> turtle.sety(-22)
        >>> turtle.position()
        [0.0, -22.0]
        N(R"R#R6(RtyposR8R9R;R<((s)/usr/local/lib/python2.5/lib-tk/turtle.pytsetyËs
c	Gs t|ƒdjo|\}}n=|d}t|tƒo|iƒ\}}n
|\}}|iƒ\}}||}||}t||ƒ|i|iS(s>Returs the angle, which corresponds to the line
        from turtle-position to point (x,y).

        Argument can be two coordinates or one pair of coordinates
        or a RawPen/Pen instance.

        Example:
        >>> turtle.position()
        [10.0, 10.0]
        >>> turtle.towards(0,0)
        225.0
        ii(REt
isinstanceR
Rvtatan2RR(	RRMRSRTtargR8R9tdxtdy((s)/usr/local/lib/python2.5/lib-tk/turtle.pyttowardsÙs



cGs¢t|ƒdjo6y|d\}}Wqwtd|df‚qwXn/y|\}}Wntd|df‚nX|i\}}|i||||ƒdS(s· Go to the given point.

        If the pen is down, then a line will be drawn. The turtle's
        orientation does not change.

        Two input formats are accepted:

           goto(x, y)
           go to point (x, y)

           goto((x, y))
           go to point (x, y)

        Example:
        >>> turtle.position()
        [0.0, 0.0]
        >>> turtle.goto(50, -45)
        >>> turtle.position()
        [50.0, -45.0]
        iisbad point argument: %rsbad coordinates: %rN(RERR"R6(RRMRSRTR8R9((s)/usr/local/lib/python2.5/lib-tk/turtle.pytgotoósc
Cs|i\}}tt||fƒ|_|io|ii|iƒn|io¨|ioWt||ƒ}t||ƒ}t||ƒ}t	|ƒ}|i
i||||d|iddd|i
ƒ}	yÈxtdd|ƒD]z}
|||
||||
|}}|i
i|	||||ƒ|i||fƒ|i
iƒ|i
i|iƒqáW|i
i|	||||ƒ|i
i|	ddƒWqætij
odSqæXn4|i
i||||d|iddd|i
ƒ}	|ii|	ƒn|iƒdS(NRtcapstyletroundR,itarrowtnone(R#tmapR!R'R(RZR$R
thypotRLRRGR%R&RhtcoordsR/RtafterRt
itemconfigureRHRIR(
RR;R<R8R9R~RR7tnhopsR1RpRSRT((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR6s@


	%

	cCsPy,|iƒiƒ}ti|ƒd|_Wntd|tfƒ‚nXdS(s@ Set the turtle's speed.

        speed must one of these five strings:

            'fastest' is a 0 ms delay
            'fast' is a 5 ms delay
            'normal' is a 10 ms delay
            'slow' is a 15 ms delay
            'slowest' is a 20 ms delay

         Example:
         >>> turtle.speed('slow')
        is0%r is not a valid speed. speed must be one of %sN(tstriptlowertspeedstindexRt
ValueError(Rtspeed((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR‘9scCs6t|ƒdjotdƒ‚nt|ƒ|_dS(sÅ Set the drawing delay in milliseconds.

        This is intended to allow finer control of the drawing speed
        than the speed() method

        Example:
        >>> turtle.delay(15)
        is(delay must be greater than or equal to 0N(RLRR(Rtdelay((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR’Os	c
CsÞ|ip|iiƒdSn|gjo
|i}n|\}}d}|t|i|iƒ}|t|i|iƒ}|iƒ|ii	||||||d|i
ddddd|iƒ|_|iiƒdS(NiRR„tlastR‚RƒR,(
R
RRR#R4RRR5R.RGR%R&R(RRvRSRTR7R~R((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR/\s 




 	cCs4|idjo |ii|iƒd|_ndS(Ni(RRR-(R((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR.nsN(&RR	RRRRR)R3R=R>R@RARBRCRRNRJtFalseR]R,RcRdReRqRrRsRtRuRvRxRzR€RR6R‘R’R/R.(((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR
sD	

		"		
								3														"	$		
gà?gè?sTurtle GraphicstPencBseZd„Zd„ZRS(c	Cs¬tdjo0tiƒatid|iƒtitƒntdjoNti	tddƒati
ddddƒtdtd	t
d
tdtƒnti|tƒdS(NtWM_DELETE_WINDOWt
backgroundtwhitetexpandiR,tbothRRtstartxtstarty(R*ReRHtTktwm_protocolt_destroyttitlet_titleRtCanvastpacktsetupR%t_heightt_startxt_startyR
R(R((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRs

#cCs@|iiƒ}|tjodadadan|iƒdS(N(RR*Ret_pentdestroy(Rtroot((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRŸs

(RR	RRŸ(((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR•}s	cCstp
tƒantS(N(R¨R•(((s)/usr/local/lib/python2.5/lib-tk/turtle.pyt_getpen˜s
tTurtlecBseZRS((RR	(((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR¬žscCstƒiƒdS(N(R«R(((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR¥scCstƒiƒdS(N(R«R(((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR¦scCstƒiƒdS(N(R«R(((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR§scCstƒiƒdS(N(R«R)(((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR)¨scCstƒi|ƒdS(N(R«R3(R2((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR3©scCstƒi|ƒdS(N(R«R=(R7((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR=ªscCstƒi|ƒdS(N(R«R>(R7((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR>«scCstƒi|ƒdS(N(R«R@(R?((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR@¬scCstƒi|ƒdS(N(R«RA(R?((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRA­scCstƒiƒdS(N(R«RB(((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRB®scCstƒiƒdS(N(R«RC(((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRC¯scCstƒi|ƒdS(N(R«R(R((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR°scGstƒi|ŒdS(N(R«RN(RM((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRN±sicCstƒi||ƒdS(N(R«R](R}R\((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR]²scCstƒi|ƒdS(N(R«R,(R2((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR,³scCstƒiƒdS(N(R«Rc(((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRc´scCstƒiƒdS(N(R«Rd(((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRdµscCstƒi||ƒdS(N(R«Rq(RiRj((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRq¶scGstƒi|ŒdS(N(R«R(RM((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR·scCs
tƒiƒS(N(R«Rr(((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRr¸scCstƒi|ƒdS(N(R«Rs(R?((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRs¹scCs
tƒiƒS(N(R«Rv(((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRvºscCs
tƒiƒS(N(R«Rt(((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRt»scCs
tƒiƒS(N(R«Ru(((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRu¼scCstƒi|ƒdS(N(R«Rx(Rw((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRx½scCstƒi|ƒdS(N(R«Rz(Ry((s)/usr/local/lib/python2.5/lib-tk/turtle.pyRz¾scGstƒi|ŒS(N(R«R€(RM((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR€¿scCstiƒdS(N(R*tmainloop(((s)/usr/local/lib/python2.5/lib-tk/turtle.pytdoneÁscCstƒi|ƒS(N(R«R’(R’((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR’ÂscCstƒi|ƒS(N(R«R‘(R‘((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR‘Ãst_cKså|idtƒ}|djp
|djo
|an
td‚|idtƒ}|djp
|djo
|an
td‚|idtƒ}|djp
|djo
|an
td‚|idtƒ}|djp
|djo
|an
td‚toÞto×toÐdtjo
d	jnotiƒ|
andtjo
d	jnoti	ƒtantdjotiƒtd
antdjoti	ƒtd
anti
dttttfƒndS(
s  Sets the size and position of the main window.

    Keywords are width, height, startx and starty:

    width: either a size in pixels or a fraction of the screen.
      Default is 50% of screen.
    height: either the height in pixels or a fraction of the screen.
      Default is 75% of screen.

    Setting either width or height to None before drawing will force
      use of default geometry as in older versions of turtle.py

    startx: starting position in pixels from the left edge of the screen.
      Default is to center window. Setting startx to None is the default
      and centers window horizontally on screen.

    starty: starting position in pixels from the top edge of the screen.
      Default is to center window. Setting starty to None is the default
      and centers window vertically on screen.

    Examples:
    >>> setup (width=200, height=200, startx=0, starty=0)

    sets window to 200x200 pixels, in upper left of screen

    >>> setup(width=.75, height=0.5, startx=None, starty=None)

    sets window to 75% of screen by 50% of screen and centers

    >>> setup(width=None)

    forces use of default geometry as in older versions of turtle.py
    Riswidth can not be less than 0Rsheight can not be less than 0R›sstartx can not be less than 0Rœiis%dx%d+%d+%dN(tgetR%ReRR¥R¦R§R*twinfo_screenwidthtwinfo_screenheighttgeometry(R³RRR›Rœ((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR¤Ës4%
	
	
	
	

cCs
|adS(stSet the window title.

    By default this is set to 'Turtle Graphics'

    Example:
    >>> title("My Window")
    N(R¡(R ((s)/usr/local/lib/python2.5/lib-tk/turtle.pyR s
cCsùtƒtdƒtƒtdƒtƒtdƒx—tdƒD]‰}|djotdƒnx(tdƒD]}tdƒt	dƒqnW|djot
dƒtd	ƒntƒtd
ƒtƒq@Wtdƒt
dƒtd	ƒtƒtdƒtdƒtdƒtdƒtdƒtƒtd
dƒtddƒt
dƒx<tdƒD].}tdƒt	dƒtdƒtdƒq\Wtdƒx<tdƒD].}tdƒt	dƒtdƒtdƒq¥Wtd	ƒtdƒtdƒdS(NiidiiiiiZtmarooniiRi´t
startstartR:treditend(
RR3RBR>RCRRhR,R=R@RNRAR](Rptj((s)/usr/local/lib/python2.5/lib-tk/turtle.pytdemo$sb































c	
CsÖtdƒtdƒttddƒƒtƒ\}}|d|ddd}tdƒt}xFtdƒD]8}|otƒt	}nt
ƒt}t|d	ƒqmWtdƒt
ƒtdƒd	}td
ƒtdƒtdƒd}xÀtd
dƒD]¯}|djo4tdd|dd|ƒtdƒtd
ƒnx(tdƒD]}t|ƒtdƒqRW|d	7}tdƒ|djo|d}tt|ƒqþqþWtdddƒtdƒtdƒtƒtdƒtdƒt
ƒtdƒtdƒtdƒx?tdƒD]1}tddƒtdƒtdƒtdƒq"Wtdƒtdƒtdƒtƒtdƒt
ƒtdƒtƒ}|i
ƒ|idƒ|idƒ|iƒ|iddƒ|id ƒ|i
ƒ|idƒ|id!ƒ|idƒtdƒtt|ƒƒx‰ttƒd|iƒdƒdjp(ttƒd|iƒdƒdjo8|id"ƒ|id#ƒtt|ƒƒtdƒq9Wtd$d%tƒdS(&NRiiigà?g@iZii
tgreeni´iiþÿÿÿigð?gš™™™™™©?iixigÐ?gè?iFiR¶Rii2tyellowRii(itblueg@g333333ã?sCAUGHT! R\(R‘RRsR€RvRAtTrueRhRBR”RCRqRRR@RNR,R=RŽR¬RRfR](	RSRTRPtpendownRpRotspR¸tturtle((s)/usr/local/lib/python2.5/lib-tk/turtle.pytdemo2Ys¤

































	









((

t__main__i(=t__doc__tmathttimeRRHRŽt	ExceptionRR
ReR*RR¨R%R¥R¦R§R¡R•R«R¬RRRR)R3R=R>R@RARBRCRRNR]R,RcRdRqRRrRsRvRtRuRxRzR€R®R’R‘tdirt
methodnamet
startswitht__dict__tevalR¤R R¹RÁR(((s)/usr/local/lib/python2.5/lib-tk/turtle.pys<module>s|
ÿÿ\																													
!	M		5	`



Man Man