How to enable bash mode at the interative mode?
Anthony Liu
antonyliu2002 at yahoo.com
Sun Nov 27 19:29:23 EST 2005
Hi, thanks.
Look what I have:
$ python
Python 2.4.2 (#1, Nov 20 2005, 13:03:38)
[GCC 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)] on linux2
Yes, I realize that I don't have readline module
available.
The same Mandrake system has Python 2.3 as well, and
it has the readline module.
I don't know how to install the readline module. I
tried what was suggested from the newsgroup, but got
an error at make:
make: *** [Modules/readline.o] Error 1
Thanks
--- Carl Friedrich Bolz <cfbolz at gmx.de> wrote:
> Anthony Liu wrote:
> > That is, at the Python interactive mode, if I hit
> the
> > upper arrow key, it'll bring up the last line of
> code.
> >
> > At
> >
>
http://groups.google.com/group/comp.lang.python/browse_thread/thread/fb8c2fd9eed0d/736fac8c33e84d0c?lnk=st&q=python+%22upper+arrow%22&rnum=2&hl=en#736fac8c33e84d0c
> > , it seems that Michael Spalinski suggests of
> > reinstalling Python.
> >
> > Any easier way to achieve this feature?
> >
> > Thanks.
>
> You are probably missing the readline module. What
> operating
> system/python version are you using?
>
> Cheers,
>
> Carl Friedrich Bolz
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
More information about the Python-list
mailing list