Re: getch() in Python

Discussion in 'Python' started by =?ISO-8859-1?Q?Gerhard_H=E4ring?=, Sep 16, 2003.

  1. Jozsa Boti wrote:
    > Hi!
    >
    > Is there a getch()-like function in Python that is OS independent?
    > I understand that msvcrt.getch() is available only under Windows.


    The first Google hit leads to
    http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/134892

    which is probably as cross-platform as you can get.

    Oh, and please use plain text in your messages, not HTML.

    -- Gerhard
    =?ISO-8859-1?Q?Gerhard_H=E4ring?=, Sep 16, 2003
    #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. azsx

    getch in Java

    azsx, May 3, 2006, in forum: Java
    Replies:
    5
    Views:
    9,457
  2. Matthew
    Replies:
    0
    Views:
    2,904
    Matthew
    Jun 28, 2003
  3. voidstar
    Replies:
    3
    Views:
    10,094
    Mark R Rivet
    Jul 27, 2004
  4. Jozsa Boti

    getch() in Python

    Jozsa Boti, Sep 16, 2003, in forum: Python
    Replies:
    1
    Views:
    1,940
    Muthukumaraswamy
    Dec 28, 2012
  5. alb
    Replies:
    5
    Views:
    123
    xDog Walker
    Apr 30, 2013
Loading...

Share This Page