ActiveBlog

No readline in ActivePython
by Kevin "kj" Woolley

Kevin "kj" Woolley, February 6, 2006

If you've used a Python.org build of Python before starting to use ActivePython, you may have grown fond of the command history and editing provided by the use of libreadline. Where Python.org Python gives you the last line you entered...

If you've used a Python.org build of Python before starting to use ActivePython, you may have grown fond of the command history and editing provided by the use of libreadline.  Where Python.org Python gives you the last line you entered when you hit up-arrow, ActivePython gives you ^[[A.

We are working on solutions to this, but in the meantime you can get a very friendly front-end to the Python shell via Komodo.  If Komodo is overkill for what you need, consider Pyrepl, which gives you only a more pleasant front-end, rather than a whole IDE.  Pyrepl is not an ActiveState product so we can't provide support for it, but it may be what you want if you want to keep it simple.

Subscribe to ActiveState Blogs by Email

Share this post:

About the Author: RSS

kj is ActiveState’s Systems Administrator. He was born in London, Ontario, grew up in North Vancouver, and spent several years in the Northwest Territories doing technical sales. As a technical infrastructure specialist, he brings over twenty years of systems administration experience to ActiveState.