/external/python/cpython3/Doc/includes/ |
H A D | turtle-star.py | 1 from turtle import *
|
/external/ImageMagick/PerlMagick/demo/ |
H A D | lsys.pl | 12 my ($x, $y) = $turtle->state(); 26 $turtle->forward($changes->{"distance"}, 29 '-' => sub{ $turtle->turn(-$changes->{"dtheta"}); }, # counter-clockwise 30 '+' => sub{ $turtle->turn($changes->{"dtheta"}); }, # Turn clockwise 31 'M' => sub{ $turtle->mirror(); }, # Mirror 32 '[' => sub{ push(@statestack, [$turtle->state()]); }, # Begin branch 33 ']' => sub{ $turtle->setstate(@{pop(@statestack)}); }, # End branch 61 $turtle=new Turtle($imagesize/2, $imagesize, 0, 1);
|
/external/python/cpython2/Demo/turtle/ |
H A D | tdemo_paint.py | 2 """ turtle-example-suite: 8 - left mouse button moves turtle 11 (no line drawn when the turtle moves) and 22 from turtle import *
|
H A D | tdemo_I_dontlike_tiltdemo.py | 2 """ turtle-example-suite: 8 turtle shape 15 from turtle import *
|
H A D | tdemo_peace.py | 2 """ turtle-example-suite: 9 it only uses turtle commands. 12 from turtle import *
|
H A D | tdemo_yinyang.py | 2 """ turtle-example-suite: 14 from turtle import *
|
H A D | turtleDemo.py | 10 import turtle namespace 50 ('About turtle module', "about_turtle.txt"), 56 self.root = root = turtle._root = Tk() 57 root.title('Python turtle-graphics examples') 129 turtle._Screen._root = root 132 turtle._Screen._canvas = self._canvas = canvas = turtle.ScrolledCanvas( 138 self.screen = _s_ = turtle.Screen() 139 turtle.TurtleScreen.__init__(_s_, _s_._canvas) 141 turtle [all...] |
H A D | tdemo_chaos.py | 7 from turtle import *
|
H A D | tdemo_tree.py | 2 """ turtle-example-suite: 18 from turtle import Turtle, mainloop
|
H A D | tdemo_nim.py | 0 """ turtle-example-suite: 13 import turtle namespace 89 class Stick(turtle.Turtle): 91 turtle.Turtle.__init__(self, visible=False) 124 self.writer = turtle.Turtle(visible=False) 218 mainscreen = turtle.Screen() 226 turtle.mainloop()
|
H A D | tdemo_colormixer.py | 3 from turtle import Screen, Turtle, mainloop 9 self.shape("turtle")
|
H A D | tdemo_lindenmayer_indian.py | 2 """ turtle-example-suite: 12 which can easily be implemented with turtle 28 from turtle import *
|
H A D | tdemo_minimal_hanoi.py | 2 """ turtle-example-suite: 20 from turtle import * 62 ht(); penup(); goto(0, -225) # writer turtle
|
H A D | tdemo_two_canvases.py | 9 from turtle import TurtleScreen, RawTurtle, TK 32 t.shape("turtle")
|
H A D | tdemo_wikipedia.py | 0 """ turtle-example-suite: 6 inspired by the Wikipedia article on turtle 10 example) copies of our first turtle p. 16 from turtle import Screen, Turtle, mainloop
|
/external/python/cpython3/Lib/turtledemo/ |
H A D | paint.py | 2 """ turtle-example-suite: 8 - left mouse button moves turtle 11 (no line drawn when the turtle moves) and 22 from turtle import *
|
H A D | peace.py | 2 """ turtle-example-suite: 9 it only uses turtle commands. 12 from turtle import *
|
H A D | yinyang.py | 2 """ turtle-example-suite: 14 from turtle import *
|
H A D | __main__.py | 62 turtle. Global variables should be initialized in main(). 84 code should catch the turtle.Terminator exception that will be 97 import turtle namespace 123 ('About turtle module', turtle.__doc__), 131 self.root = root = turtle._root = Tk() 132 root.title('Python turtle-graphics examples') 233 turtle._Screen._root = root 236 turtle._Screen._canvas = self._canvas = canvas = turtle [all...] |
H A D | chaos.py | 7 from turtle import *
|
H A D | round_dance.py | 0 """ turtle-example-suite: 5 (Needs version 1.1 of the turtle module that 25 from turtle import *
|
H A D | tree.py | 2 """ turtle-example-suite: 18 from turtle import Turtle, mainloop
|
H A D | nim.py | 0 """ turtle-example-suite: 13 import turtle namespace 89 class Stick(turtle.Turtle): 91 turtle.Turtle.__init__(self, visible=False) 124 self.writer = turtle.Turtle(visible=False) 218 mainscreen = turtle.Screen() 226 turtle.mainloop()
|
/external/python/cpython2/Lib/test/ |
H A D | test_turtle.py | 5 turtle = support.import_module('turtle') variable 6 Vec2D = turtle.Vec2D 25 exampleturtle = turtle 61 parsed_cfg = turtle.config_dict(cfg_name) 80 'exampleturtle': 'turtle', 91 parsed_cfg = turtle.config_dict(cfg_name) 108 parsed_cfg = turtle.config_dict(cfg_name) 250 self.nav = turtle.TNavigator() 402 another_turtle = turtle [all...] |
/external/python/cpython3/Lib/test/ |
H A D | test_turtle.py | 5 turtle = support.import_module('turtle') variable 6 Vec2D = turtle.Vec2D 25 exampleturtle = turtle 61 parsed_cfg = turtle.config_dict(cfg_name) 80 'exampleturtle': 'turtle', 91 parsed_cfg = turtle.config_dict(cfg_name) 108 parsed_cfg = turtle.config_dict(cfg_name) 254 self.nav = turtle.TNavigator() 406 another_turtle = turtle [all...] |