Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #104423

Re: turtle ??

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From Terry Reedy <tjreedy@udel.edu>
Newsgroups comp.lang.python
Subject Re: turtle ??
Date Wed, 9 Mar 2016 10:30:10 -0500
Lines 17
Message-ID <mailman.83.1457537446.15725.python-list@python.org> (permalink)
References <5f23cad3-bda5-4c84-a241-c91c5dcb81ff@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de pxIm6VFpkbujMQYXLpQzqAzWHWN7NXSB+7MKcgQmPxHA==
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'turtle': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'jan': 0.11; 'instead.': 0.15; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'subject:turtle': 0.16; 'wrote:': 0.16; 'alex': 0.18; 'creates': 0.18; 'assign': 0.22; 'am,': 0.23; 'second': 0.24; 'import': 0.24; 'header:In-Reply-To:1': 0.24; 'header:User- Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; "skip:' 10": 0.28; 'allows': 0.30; 'window': 0.30; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'turn': 0.37; 'received:org': 0.37; 'to:addr:python.org': 0.40; 'close': 0.61; 'side': 0.62; 'received:96': 0.63; 'complete': 0.63; 'forward': 0.66; 'received:fios.verizon.net': 0.91
X-Injected-Via-Gmane http://gmane.org/
X-Gmane-NNTP-Posting-Host pool-96-227-207-81.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
In-Reply-To <5f23cad3-bda5-4c84-a241-c91c5dcb81ff@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:104423

Show key headers only | View raw


On 3/9/2016 2:39 AM, Ömer sarı wrote:
> import turtle             # Allows us to use turtles
>   wn = turtle.Screen()      # Creates a playground for turtles
>   alex = turtle.Turtle()    # Create a turtle, assign to alex
>
>   alex.forward(50)          # Tell alex to move forward by 50 units
>   alex.left(90)             # Tell alex to turn by 90 degrees
>   alex.forward(30)          # Complete the second side of a rectangle
>
>   wn.mainloop()             # Wait for user to close window

Use 'turtle.mainloop' instead.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

turtle ?? Ömer sarı <sari.omer.1989@gmail.com> - 2016-03-08 23:39 -0800
  Re: turtle ?? Peter Otten <__peter__@web.de> - 2016-03-09 10:06 +0100
    Re: turtle ?? Steven D'Aprano <steve@pearwood.info> - 2016-03-09 22:55 +1100
      Re: turtle ?? Joel Goldstick <joel.goldstick@gmail.com> - 2016-03-09 09:24 -0500
      Re: turtle ?? MRAB <python@mrabarnett.plus.com> - 2016-03-09 18:14 +0000
        Re: turtle ?? Steven D'Aprano <steve@pearwood.info> - 2016-03-10 13:45 +1100
          Re: turtle ?? Chris Angelico <rosuav@gmail.com> - 2016-03-10 14:47 +1100
            Re: turtle ?? Marko Rauhamaa <marko@pacujo.net> - 2016-03-10 08:14 +0200
              Re: turtle ?? Jussi Piitulainen <jussi.piitulainen@helsinki.fi> - 2016-03-10 08:46 +0200
              Text input with keyboard, via input methods (was: turtle ??) Ben Finney <ben+python@benfinney.id.au> - 2016-03-10 18:28 +1100
                Re: Text input with keyboard, via input methods (was: turtle ??) Rustom Mody <rustompmody@gmail.com> - 2016-03-09 23:54 -0800
                Re: Text input with keyboard, via input methods Larry Hudson <orgnut@yahoo.com> - 2016-03-10 20:51 -0800
                Re: Text input with keyboard, via input methods Rustom Mody <rustompmody@gmail.com> - 2016-03-11 03:46 -0800
                Re: Text input with keyboard, via input methods Marko Rauhamaa <marko@pacujo.net> - 2016-03-10 12:51 +0200
                Re: Text input with keyboard, via input methods Rustom Mody <rustompmody@gmail.com> - 2016-03-10 03:59 -0800
                Re: Text input with keyboard, via input methods Jerry Hill <malaclypse2@gmail.com> - 2016-03-10 09:38 -0500
                Re: Text input with keyboard, via input methods Marko Rauhamaa <marko@pacujo.net> - 2016-03-10 17:13 +0200
                Re: Text input with keyboard, via input methods Chris Angelico <rosuav@gmail.com> - 2016-03-11 07:19 +1100
                Re: Text input with keyboard, via input methods Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-03-10 21:48 +0000
                Re: Text input with keyboard, via input methods Marko Rauhamaa <marko@pacujo.net> - 2016-03-11 00:47 +0200
              Re: turtle ?? Chris Angelico <rosuav@gmail.com> - 2016-03-10 18:39 +1100
  Re: turtle ?? Terry Reedy <tjreedy@udel.edu> - 2016-03-09 10:30 -0500

csiph-web