Re: Goto XY

Discussion in 'Python' started by Jean-Paul Calderone, Nov 9, 2005.

  1. On Tue, 8 Nov 2005 22:33:47 -0500, "Chris F.A. Johnson" <> wrote:
    > [snip]
    >
    > To read a single keystroke, see Claudio Grondi's post in the
    > thread "python without OO" from last January.
    >
    > Function and cursor keys return more than a single character, so
    > more work is required to decode them. The principle is outlined in
    > <http://www.unixreview.com/documents/s=9920/ur0511a/ur0511a.html>;
    > the code there is for the shell, but translating them to python
    > should be straightforward. I'll probably do it myself when I have
    > the time or the motivation.
    >


    Like this?

    http://cvs.twistedmatrix.com/cvs/trunk/twisted/conch/insults/insults.py?view=markup&rev=14863

    Jean-Paul
     
    Jean-Paul Calderone, Nov 9, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. youngsun park
    Replies:
    2
    Views:
    645
    David Pursley
    Nov 18, 2003
  2. Skybuck Flying

    VHDL Goto statement ?

    Skybuck Flying, Aug 8, 2005, in forum: VHDL
    Replies:
    9
    Views:
    6,358
    ajahn
    Aug 26, 2005
  3. Skybuck Flying

    Re: VHDL Goto statement ?

    Skybuck Flying, Aug 8, 2005, in forum: VHDL
    Replies:
    0
    Views:
    773
    Skybuck Flying
    Aug 8, 2005
  4. Flip
    Replies:
    6
    Views:
    6,753
    Jeff Dillon
    Nov 18, 2004
  5. Flip
    Replies:
    1
    Views:
    671
    Brock Allen
    Apr 14, 2005
Loading...

Share This Page