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


Groups > comp.lang.python > #104412

Re: turtle ??

From Joel Goldstick <joel.goldstick@gmail.com>
Newsgroups comp.lang.python
Subject Re: turtle ??
Date 2016-03-09 09:24 -0500
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>

Show all headers | 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