python on mac keystroke

Discussion in 'Python' started by Eric Texier, Apr 26, 2005.

  1. Eric Texier

    Eric Texier Guest

    I am testing python on a mac. In the python console, none of the
    control as the arrow to scroll back to a preview line are
    working. How can I fix this.
    Thanks
    eric

    Following is an example:
    > python
    > Python 2.4.1 (#1, Apr 22 2005, 21:15:26)
    > [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
    > Type "help", "copyright", "credits" or "license" for more information.
    >>>> import sys
    >>>> ^[[A

    > File "<stdin>", line 1
    > ^
    > SyntaxError: invalid syntax
    >>>> import os <<^?^?
     
    Eric Texier, Apr 26, 2005
    #1
    1. Advertising

  2. Eric Texier

    Ian A. York Guest

    In article <2Fhbe.1394$>,
    Eric Texier <> wrote:
    >I am testing python on a mac. In the python console, none of the
    >control as the arrow to scroll back to a preview line are
    >working. How can I fix this.


    If I understand what you're asking, you need to install readline, which
    isn't included in the OSX Python.

    Ian
    --
    Ian York () <http://www.panix.com/~iayork/>
    "-but as he was a York, I am rather inclined to suppose him a
    very respectable Man." -Jane Austen, The History of England
     
    Ian A. York, Apr 26, 2005
    #2
    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. JustJohn
    Replies:
    6
    Views:
    659
    JustJohn
    Mar 29, 2006
  2. Herb Stull

    Keystroke Count

    Herb Stull, Oct 17, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    3,384
    Will T
    Oct 22, 2003
  3. Fred
    Replies:
    6
    Views:
    3,569
    pete kirkham
    Aug 2, 2003
  4. =?ISO-8859-1?Q?St=E9phane_St-Pierre?=

    KeyStroke madness

    =?ISO-8859-1?Q?St=E9phane_St-Pierre?=, Sep 19, 2003, in forum: Java
    Replies:
    1
    Views:
    389
    Gerbrand van Dieijen
    Sep 20, 2003
  5. Abhas Bhattacharya

    Creating continuous keystroke with python

    Abhas Bhattacharya, Jan 13, 2013, in forum: Python
    Replies:
    1
    Views:
    215
    Dennis Lee Bieber
    Jan 13, 2013
Loading...

Share This Page