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

All Samples(11)  |  Call(11)  |  Derive(0)  |  Import(0)
Return the turtle's current location (x,y), as a Vec2D-vector.

Aliases: pos | position

No arguments.

Example (for a Turtle instance named turtle):
>>> turtle.pos()
(0.00, 240.00)

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/turtledemo/bytedesign.py   TrustRouter(Download)
            self.forward(64.65 * scale)
            self.down()
            self.wheel(self.position(), scale)
            self.up()
            self.backward(64.65 * scale)

src/p/y/pytaint-HEAD/Python-2.7.5-pytaint/Demo/turtle/tdemo_bytedesign.py   pytaint(Download)
            self.forward(64.65 * scale)
            self.down()
            self.wheel(self.position(), scale)
            self.up()
            self.backward(64.65 * scale)

src/p/y/Py2crazy-HEAD/Python-2.7.5/Demo/turtle/tdemo_bytedesign.py   Py2crazy(Download)
            self.forward(64.65 * scale)
            self.down()
            self.wheel(self.position(), scale)
            self.up()
            self.backward(64.65 * scale)

src/p/y/PyCPython-HEAD/Python-2.7.1/Demo/turtle/tdemo_bytedesign.py   PyCPython(Download)
            self.forward(64.65 * scale)
            self.down()
            self.wheel(self.position(), scale)
            self.up()
            self.backward(64.65 * scale)

src/p/y/python-with-braces-HEAD/Demo/turtle/tdemo_bytedesign.py   python-with-braces(Download)
            self.forward(64.65 * scale)
            self.down()
            self.wheel(self.position(), scale)
            self.up()
            self.backward(64.65 * scale)

src/i/n/IncPy-HEAD/Demo/turtle/tdemo_bytedesign.py   IncPy(Download)
            self.forward(64.65 * scale)
            self.down()
            self.wheel(self.position(), scale)
            self.up()
            self.backward(64.65 * scale)

src/p/y/python2.7-mod-HEAD/Demo/turtle/tdemo_bytedesign.py   python2.7-mod(Download)
            self.forward(64.65 * scale)
            self.down()
            self.wheel(self.position(), scale)
            self.up()
            self.backward(64.65 * scale)

src/s/l/SlopPy-HEAD/Demo/turtle/tdemo_bytedesign.py   SlopPy(Download)
            self.forward(64.65 * scale)
            self.down()
            self.wheel(self.position(), scale)
            self.up()
            self.backward(64.65 * scale)

src/i/r/ironpython3-HEAD/Src/StdLib/Lib/turtledemo/bytedesign.py   ironpython3(Download)
            self.forward(64.65 * scale)
            self.down()
            self.wheel(self.position(), scale)
            self.up()
            self.backward(64.65 * scale)

src/c/p/cpython-HEAD/Lib/turtledemo/bytedesign.py   cpython(Download)
            self.forward(64.65 * scale)
            self.down()
            self.wheel(self.position(), scale)
            self.up()
            self.backward(64.65 * scale)

  1 | 2  Next