Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Joel Goldstick Newsgroups: comp.lang.python Subject: Re: turtle ?? Date: Wed, 9 Mar 2016 09:24:53 -0500 Lines: 63 Message-ID: References: <5f23cad3-bda5-4c84-a241-c91c5dcb81ff@googlegroups.com> <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: 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; '>>>': 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; '>': 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:104412 On Wed, Mar 9, 2016 at 6:55 AM, Steven D'Aprano wrote= : > On Wed, 9 Mar 2016 08:06 pm, Peter Otten wrote: > > > =C3=96mer sar=C4=B1 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 =C3=96mer sar=C4=B1 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 g= et > I as opposed to =C4=B0 (LATIN CAPITAL LETTER I WITH DOT ABOVE). So we mig= ht like > to give him a little slack. > > But apart from that, I agree: in the long term, if =C3=96mer 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 =3D turtle.Screen() >>> alex =3D turtle.Turtle() >>> alex.forward(50) >>> alex.left(90) >>> alex.forward(30) >>> wn.mainloop() Traceback (most recent call last): File "", line 1, in 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 > --=20 Joel Goldstick http://joelgoldstick.com/ http://cc-baseballstats.info/