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


Groups > comp.lang.python > #104392 > unrolled thread

turtle ??

Started byÖmer sarı <sari.omer.1989@gmail.com>
First post2016-03-08 23:39 -0800
Last post2016-03-09 10:30 -0500
Articles 2 on this page of 22 — 14 participants

Back to article view | Back to comp.lang.python


Contents

  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

Page 2 of 2 — ← Prev page 1 [2]


#104478

FromChris Angelico <rosuav@gmail.com>
Date2016-03-10 18:39 +1100
Message-ID<mailman.109.1457595593.15725.python-list@python.org>
In reply to#104474
On Thu, Mar 10, 2016 at 5:14 PM, Marko Rauhamaa <marko@pacujo.net> wrote:
> Chris Angelico <rosuav@gmail.com>:
>
>> A Turkish keyboard should have dotless and dotted, uppercase and
>> lowercase, all easily typed.
>
> BTW, typing any useful Unicode character is a major unsolved problem. I
> have created this text file that contains a lot of unicode characters
> with their code points. Every once in a while I have to open the file
> and copy and paste a character to, say, a Usenet posting. Cumbersome but
> necessary.

Part of the reason it's unsolved is that there are many different ways
you might want to identify the character. Are you looking for a glyph
by name? Grab the unicodedata module (or the \N escape) and print
something out. (Works only if you know the exact name. A fuzzy match
tool would be handy, and would be reasonably easy to build on top of
unicodedata. Someone's probably done that already, but if not, it
wouldn't be a particularly long script.) Are you trying to type text
in a different script? Transliteration from/to Latin letters is
probably the best way - either as an input method (I can right-click
an entry field and select Cyrillic, and then "stop" comes out as
"стоп" - hey look, it translated it into Russian as well!), or as a
dedicated transliteration script. Trying to type Latin letters with
diacriticals? Dead key support is most likely to be the simplest -
type the diacritical, then the base letter, and it enters the combined
form. Or maybe set your keyboard so that Alt-` emits U+0300 COMBINING
GRAVE ACCENT, and then type the base letter followed by Alt-` to add
an accent. Not 100% sure what you want? Have a text file with all the
characters you can't type and often want to use. Cumbersome, maybe,
but not as bad as some other options. :)

ChrisA

[toc] | [prev] | [next] | [standalone]


#104423

FromTerry Reedy <tjreedy@udel.edu>
Date2016-03-09 10:30 -0500
Message-ID<mailman.83.1457537446.15725.python-list@python.org>
In reply to#104392
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

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.lang.python


csiph-web