467,906 Members | 1,618 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,906 developers. It's quick & easy.

huge help for interactive python

If you are using ipython on Windows then you will
have made sure you have Gary Bishop's readline
library as instructed in the ipython install
directions found at:
http://ipython.scipy.org/

Even if you use the standard commandline tool,
installing readline makes the basic command line a
lot easier to use. (For some reason, I much
prefer it to IDLE or any of the other GUI-wrapped
interpreters.)

I could not find a list of the keyboard commands
that readline supports, so I generated:

http://fsinnovations.net/share/keymap.pdf

NOTES:
You can checkout the script that generates this at:
http://fsinnovations.net/share/readlinekeymap.py
This uses Ken Seehof's Python Cookbook recipe found at:
http://aspn.activestate.com/ASPN/Coo...n/Recipe/81982
I am sure it can be improved, but it was easy. By the
way, it generates LaTeK.

To install readline, get it at:
http://sourceforge.net/projects/uncpythontools.
You will also need the ctypes library by
Thomas Heller, found at:
http://starship.python.net/crew/theller/ctypes

Jul 18 '05 #1
  • viewed: 880
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Avi Berkovich | last post: by
20 posts views Thread by Joe | last post: by
2 posts views Thread by Charles Krug | last post: by
3 posts views Thread by qwweeeit | last post: by
1 post views Thread by cm012b5105 | last post: by
2 posts views Thread by Adam Blinkinsop | last post: by
3 posts views Thread by R. Bernstein | last post: by
8 posts views Thread by james.kirin39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.