Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(27)  |  Call(14)  |  Derive(0)  |  Import(13)
Data structure modeling shapes.

attribute _type is one of "polygon", "image", "compound"
attribute _data is - depending on _type a poygon-tuple,
an image or a list constructed using the addcomponent method.

src/p/h/PhysicalTurtle-0.4/physicalturtle/turtle_main.py   PhysicalTurtle(Download)
 
# Classes (except Turtle)
from turtle import (
    ScrolledCanvas, TurtleScreen, Screen,
    RawTurtle, RawPen, Pen, Shape, Vec2D,)

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/turtledemo/planet_and_moon.py   TrustRouter(Download)
 
"""
from turtle import Shape, Turtle, mainloop, Vec2D as Vec
from time import sleep
 
    m2 = s.get_poly()
 
    planetshape = Shape("compound")
    planetshape.addcomponent(m1,"orange")
    planetshape.addcomponent(m2,"blue")

src/i/r/ironpython3-HEAD/Src/StdLib/Lib/turtledemo/planet_and_moon.py   ironpython3(Download)
 
"""
from turtle import Shape, Turtle, mainloop, Vec2D as Vec
from time import sleep
 
    m2 = s.get_poly()
 
    planetshape = Shape("compound")
    planetshape.addcomponent(m1,"orange")
    planetshape.addcomponent(m2,"blue")

src/c/p/cpython-HEAD/Lib/turtledemo/planet_and_moon.py   cpython(Download)
 
"""
from turtle import Shape, Turtle, mainloop, Vec2D as Vec
from time import sleep
 
    m2 = s.get_poly()
 
    planetshape = Shape("compound")
    planetshape.addcomponent(m1,"orange")
    planetshape.addcomponent(m2,"blue")

src/p/y/pytaint-HEAD/Python-2.7.5-pytaint/Demo/turtle/tdemo_planet_and_moon.py   pytaint(Download)
 
"""
from turtle import Shape, Turtle, mainloop, Vec2D as Vec
from time import sleep
 
    m2 = s.get_poly()
 
    planetshape = Shape("compound")
    planetshape.addcomponent(m1,"orange")
    planetshape.addcomponent(m2,"blue")

src/p/y/Py2crazy-HEAD/Python-2.7.5/Demo/turtle/tdemo_planet_and_moon.py   Py2crazy(Download)
 
"""
from turtle import Shape, Turtle, mainloop, Vec2D as Vec
from time import sleep
 
    m2 = s.get_poly()
 
    planetshape = Shape("compound")
    planetshape.addcomponent(m1,"orange")
    planetshape.addcomponent(m2,"blue")

src/p/y/PyCPython-HEAD/Python-2.7.1/Demo/turtle/tdemo_planet_and_moon.py   PyCPython(Download)
 
"""
from turtle import Shape, Turtle, mainloop, Vec2D as Vec
from time import sleep
 
    m2 = s.get_poly()
 
    planetshape = Shape("compound")
    planetshape.addcomponent(m1,"orange")
    planetshape.addcomponent(m2,"blue")

src/s/t/static-python-HEAD/Lib/turtledemo/planet_and_moon.py   static-python(Download)
 
"""
from turtle import Shape, Turtle, mainloop, Vec2D as Vec
from time import sleep
 
    m2 = s.get_poly()
 
    planetshape = Shape("compound")
    planetshape.addcomponent(m1,"orange")
    planetshape.addcomponent(m2,"blue")

src/i/n/IncPy-HEAD/Demo/turtle/tdemo_planet_and_moon.py   IncPy(Download)
 
"""
from turtle import Shape, Turtle, mainloop, Vec2D as Vec
from time import sleep
 
    m2 = s.get_poly()
 
    planetshape = Shape("compound")
    planetshape.addcomponent(m1,"orange")
    planetshape.addcomponent(m2,"blue")

src/p/y/python-with-braces-HEAD/Demo/turtle/tdemo_planet_and_moon.py   python-with-braces(Download)
 
"""
from turtle import Shape, Turtle, mainloop, Vec2D as Vec
from time import sleep
 
    m2 = s.get_poly()
 
    planetshape = Shape("compound")
    planetshape.addcomponent(m1,"orange")
    planetshape.addcomponent(m2,"blue")

  1 | 2  Next