Re: How to enable bash mode at the interative mode?
Anthony Liu antonyliu2002 at yahoo.com writes: 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 You need to have the development stuff for readline installed before you compile Python 2.4.2 from source. For Mandrake 9.2, there should be an rpm package named something like libreadline*-devel available. Install that, recompile python, and you should be okay. HTH -- Baz -- http://mail.python.org/mailman/listinfo/python-list
How to enable bash mode at the interative mode?
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=stq=python+%22upper+arrow%22rnum=2hl=en#736fac8c33e84d0c , it seems that Michael Spalinski suggests of reinstalling Python. Any easier way to achieve this feature? Thanks. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- http://mail.python.org/mailman/listinfo/python-list
Re: How to enable bash mode at the interative mode?
Anthony Liu [EMAIL PROTECTED] (AL) escribió: AL That is, at the Python interactive mode, if I hit the AL upper arrow key, it'll bring up the last line of code. AL At AL http://groups.google.com/group/comp.lang.python/browse_thread/thread/fb8c2fd9eed0d/736fac8c33e84d0c?lnk=stq=python+%22upper+arrow%22rnum=2hl=en#736fac8c33e84d0c AL , it seems that Michael Spalinski suggests of AL reinstalling Python. AL Any easier way to achieve this feature? Just installing the readline module was sufficient in MacOSX (Apple's python). Maybe it is the same for other implementations? -- Piet van Oostrum [EMAIL PROTECTED] URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4] Private email: [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list
Re: How to enable bash mode at the interative mode?
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=stq=python+%22upper+arrow%22rnum=2hl=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
Re: How to enable bash mode at the interative mode?
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 [EMAIL PROTECTED] 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=stq=python+%22upper+arrow%22rnum=2hl=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/ -- http://mail.python.org/mailman/listinfo/python-list