Home
last modified time | relevance | path

Searched refs:Turtle (Results 1 – 25 of 40) sorted by relevance

12

/external/python/cpython3/Lib/turtledemo/
Dforest.py14 from turtle import Turtle, colormode, tracer, mainloop
85 p = Turtle()
88 u = doit1(6, Turtle(undobuffersize=1))
89 s = doit2(7, Turtle(undobuffersize=1))
90 t = doit3(5, Turtle(undobuffersize=1))
Dcolormixer.py3 from turtle import Screen, Turtle, mainloop
5 class ColorTurtle(Turtle):
8 Turtle.__init__(self)
48 writer = Turtle()
Dclock.py63 second_hand = Turtle()
66 minute_hand = Turtle()
69 hour_hand = Turtle()
77 writer = Turtle()
Dplanet_and_moon.py20 from turtle import Shape, Turtle, mainloop, Vec2D as Vec
38 class Star(Turtle):
40 Turtle.__init__(self, shape=shape)
71 s = Turtle()
Dtree.py18 from turtle import Turtle, mainloop
40 p = Turtle()
Drosette.py16 from turtle import Screen, Turtle, mainloop
39 p=Turtle()
Dminimal_hanoi.py22 class Disc(Turtle):
24 Turtle.__init__(self, shape="square", visible=False)
Dnim.py89 class Stick(turtle.Turtle):
91 turtle.Turtle.__init__(self, visible=False)
124 self.writer = turtle.Turtle(visible=False)
Dbytedesign.py25 from turtle import Turtle, mainloop
30 class Designer(Turtle):
Dsorting_animate.py22 class Block(Turtle):
26 Turtle.__init__(self, shape="square", visible=False)
/external/python/cpython2/Demo/turtle/
Dtdemo_colormixer.py3 from turtle import Screen, Turtle, mainloop
5 class ColorTurtle(Turtle):
8 Turtle.__init__(self)
48 writer = Turtle()
Dtdemo_clock.py63 second_hand = Turtle()
66 minute_hand = Turtle()
69 hour_hand = Turtle()
77 writer = Turtle()
Dtdemo_planet_and_moon.py20 from turtle import Shape, Turtle, mainloop, Vec2D as Vec
39 class Star(Turtle):
41 Turtle.__init__(self, shape=shape)
72 s = Turtle()
Dtdemo_tree.py18 from turtle import Turtle, mainloop
40 p = Turtle()
Dtdemo_wikipedia.py16 from turtle import Screen, Turtle, mainloop
39 p=Turtle()
Dtdemo_minimal_hanoi.py22 class Disc(Turtle):
24 Turtle.__init__(self, shape="square", visible=False)
Dtdemo_nim.py89 class Stick(turtle.Turtle):
91 turtle.Turtle.__init__(self, visible=False)
124 self.writer = turtle.Turtle(visible=False)
Dtdemo_bytedesign.py26 from turtle import Turtle, mainloop
31 class Designer(Turtle):
Dabout_turtle.txt6 Turtle graphics is a popular way for introducing programming to
37 (multicolored) shapes. Turtle shapes can be stgretched and tilted, which
/external/python/cpython3/Doc/library/
Dturtle.rst2 :mod:`turtle` --- Turtle graphics
15 turtle = Turtle()
22 Turtle graphics is a popular way for introducing programming to kids. It was
31 .. sidebar:: Turtle star
33 Turtle can draw intricate shapes using programs that repeat simple
71 2. :class:`RawTurtle` (alias: :class:`RawPen`) defines Turtle objects which draw
75 Derived from RawTurtle is the subclass :class:`Turtle` (alias: :class:`Pen`),
79 All methods of RawTurtle/Turtle also exist as functions, i.e. part of the
83 of the classes :class:`Screen` and :class:`Turtle`. They have the same names as
86 automatically created whenever any of the functions derived from a Turtle method
[all …]
/external/python/cpython2/Doc/library/
Dturtle.rst2 :mod:`turtle` --- Turtle graphics for Tk
6 :synopsis: Turtle graphics for Tk
12 turtle = Turtle()
17 Turtle graphics is a popular way for introducing programming to kids. It was
56 2. :class:`RawTurtle` (alias: :class:`RawPen`) defines Turtle objects which draw
60 Derived from RawTurtle is the subclass :class:`Turtle` (alias: :class:`Pen`),
64 All methods of RawTurtle/Turtle also exist as functions, i.e. part of the
68 of the classes :class:`Screen` and :class:`Turtle`. They have the same names as
71 automatically created whenever any of the functions derived from a Turtle method
82 Overview over available Turtle and Screen methods
[all …]
/external/ImageMagick/PerlMagick/demo/
Dlsys.pl6 use Turtle;
61 $turtle=new Turtle($imagesize/2, $imagesize, 0, 1);
DTurtle.pm2 Turtle; package
/external/python/cpython2/Lib/lib-tk/
Dturtle.py979 Turtle._pen = None
3552 if Turtle._screen is None:
3553 Turtle._screen = _Screen()
3554 return Turtle._screen
3644 Turtle._pen = None
3645 Turtle._screen = None
3689 class Turtle(RawTurtle): class
3702 if Turtle._screen is None:
3703 Turtle._screen = Screen()
3704 RawTurtle.__init__(self, Turtle._screen,
[all …]
/external/python/cpython3/Lib/
Dturtle.py1032 Turtle._pen = None
3661 if Turtle._screen is None:
3662 Turtle._screen = _Screen()
3663 return Turtle._screen
3753 Turtle._pen = None
3754 Turtle._screen = None
3798 class Turtle(RawTurtle): class
3811 if Turtle._screen is None:
3812 Turtle._screen = Screen()
3813 RawTurtle.__init__(self, Turtle._screen,
[all …]

12