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


Groups > comp.lang.python > #104412

Re: turtle ??

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From Joel Goldstick <joel.goldstick@gmail.com>
Newsgroups comp.lang.python
Subject Re: turtle ??
Date Wed, 9 Mar 2016 09:24:53 -0500
Lines 63
Message-ID <mailman.78.1457533502.15725.python-list@python.org> (permalink)
References <5f23cad3-bda5-4c84-a241-c91c5dcb81ff@googlegroups.com> <mailman.73.1457514382.15725.python-list@python.org> <56e00f1d$0$1600$c3e8da3$5496439d@news.astraweb.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de Td1RIZib/iz03VQL0BGM/A9kPT8i7LfqFKGEYkB8n/eg==
Return-Path <joel.goldstick@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.022
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'python3': 0.05; 'lines.': 0.07; 'turtle': 0.07; 'cc:addr:python-list': 0.09; 'term,': 0.09; 'python': 0.10; 'wed,': 0.15; '&gt;&gt;&gt;': 0.15; '2016': 0.16; "he'll": 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:turtle': 0.16; 'wrote:': 0.16; 'alex': 0.18; 'attribute': 0.18; 'odd': 0.18; 'typing': 0.18; '&gt;': 0.18; '>>>': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; '"",': 0.22; 'keyboard': 0.22; 'title,': 0.22; 'am,': 0.23; 'bit': 0.23; 'import': 0.24; '(most': 0.24; 'header:In-Reply-To:1': 0.24; "doesn't": 0.26; 'question': 0.27; 'message-id:@mail.gmail.com': 0.27; 'opposed': 0.27; 'actual': 0.28; 'url:mailman': 0.30; 'code': 0.30; 'window': 0.30; "can't": 0.32; 'says': 0.32; 'computing': 0.32; 'possibly': 0.32; 'maybe': 0.33; 'run': 0.33; 'url:python': 0.33; 'message.': 0.33; "d'aprano": 0.33; 'programming,': 0.33; 'steven': 0.33; 'traceback': 0.33; 'url:listinfo': 0.34; "skip:' 20": 0.34; 'file': 0.34; 'that,': 0.34; 'skip:& 20': 0.35; 'received:google.com': 0.35; 'something': 0.35; 'but': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'possible': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'skip:& 10': 0.37; 'received:209': 0.38; 'received:209.85.214': 0.39; 'url:mail': 0.40; 'easy': 0.60; 'him': 0.60; 'your': 0.60; 'details': 0.62; 'personal': 0.63; 'mar': 0.65; 'here': 0.66; 'apart': 0.70; 'url:info': 0.71; 'book.': 0.72; 'capital': 0.72; '"i".': 0.84; '2.7.': 0.84; 'latin': 0.84; 'otten': 0.84; 'turkish': 0.84; 'to:none': 0.91; 'distract': 0.91; 'joel': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc; bh=5A8Gmo8R1RRRUDHjG/FNg9THwlxHO4yj64x2OZKb7sk=; b=AzgJW+6kD7UaUISnqMsoko0KtdCQbK1lYRR+fQ5CreD4xgkRSKktS6W0AtCORRpLH0 Y2zV3O/NYBw8GPyxyOm7oBFh/LmvqAzeAL/JcfypoBnjW78Ooonov0cyUF2BUOd71iKy RXOrg67Y/YUky0yTu3xwuAKHr1k/uT3eSjv05tklVK1S2ZzQo3wKsF6VuIaTHHjshPLh qtbLQRVaapWn1RlTnKCWf2uDzN/hKiD+E6VDVLKythcUYv1v9k2gt4don79YhEy7VSq9 eTQ8RcTcsC+nYKv9UkGN5m5ToX3sAOAHLcBTdOuu1FjbtfZmET83gZJPuCC3X/LvAhJT atLQ==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc; bh=5A8Gmo8R1RRRUDHjG/FNg9THwlxHO4yj64x2OZKb7sk=; b=VRDRhocI+xyQDpV21iFFur0Q0tvRrqKhby3kPkzwiOgKO+nXDYGDDBcam9oomX7GS3 tXu2aN+BzldqEIbaT3WPQC/+t/vLkGFwOPr62pj1JEqOiRAvHfj3Zo+bVPCWD1rWrYUG s6lMoXm0486m2S0iByKeXgLag5XHGYMrEJcLK82WMPxbAMc7BUtMNzKmKXDL/g93rFSc 8Zy/KmjNBgkQC56/ciVhouVHzgJvGPQ1is7xxfomrTgKsQWNel+9CXmvloZWSxbiRJMt RoH5E3Wx7uwb2NiNWPNuGIqSXedr8dQxiB0O8AckdSy4ld6jWGUIkOepYDX8sgyEQxr1 cGpw==
X-Gm-Message-State AD7BkJJC0rLT+epbUM0Tb9HD2qZlxE2ATQ89HvfXIs4IxGhD9GwKS4trqOLnV39VnqrmS/Q6n9Aj3mCMQ5RmVg==
X-Received by 10.60.117.102 with SMTP id kd6mr21137680oeb.73.1457533493370; Wed, 09 Mar 2016 06:24:53 -0800 (PST)
In-Reply-To <56e00f1d$0$1600$c3e8da3$5496439d@news.astraweb.com>
X-Content-Filtered-By Mailman/MimeDel 2.1.21
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:104412

Show key headers only | View raw


On Wed, Mar 9, 2016 at 6:55 AM, Steven D'Aprano <steve@pearwood.info> wrote:

> On Wed, 9 Mar 2016 08:06 pm, Peter Otten wrote:
>
> > Ömer sarı wrote:
> >
> >> l would like to ask a question as l m a little bit confused .
> >
> > In computing details matter, and in communication odd personal habits
> > distract from the actual message. Please reconsider your use of an "l" as
> > a replacement for "I".
>
> While I don't disagree, it is possible that Ömer sarı is typing on a
> keyboard that doesn't have an I, or makes it difficult to use. The last
> letter of his(?) name is LATIN SMALL LETTER DOTLESS I, which suggests
> possibly a Turkish or Armenian keyboard. I don't know how easy it is to get
> I as opposed to İ (LATIN CAPITAL LETTER I WITH DOT ABOVE). So we might like
> to give him a little slack.
>
> But apart from that, I agree: in the long term, if Ömer is going to be
> programming, he'll need to do something about that keyboard.
>
> Firstly, it says python3 in the title, so use python3
>

I ran the code with python 2.7.  However, python3 is most likely required
for other exercises in the book.  Here are my results:

>>> import turtle
>>> wn = turtle.Screen()
>>> alex = turtle.Turtle()
>>> alex.forward(50)
>>> alex.left(90)
>>> alex.forward(30)
>>> wn.mainloop()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: '_Screen' object has no attribute 'mainloop'
>>>

 Python opened a window and drew the lines.  I don't know turtle, so maybe
this can't be run interactively with wn.mainloop()


> --
> Steven
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>



-- 
Joel Goldstick
http://joelgoldstick.com/ <http://joelgoldstick.com/stats/birthdays>
http://cc-baseballstats.info/

Back to comp.lang.python | Previous | NextPrevious in thread | Next 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