469,923 Members | 1,785 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Inserting a tab with tab completion enabled on win32

I've followed the tab completion example given in the Library Reference
docs for the rlcompleter module that makes the tab key do name
completion. That works but now you need another key stroke to insert an
actual tab.

I've tried lines like:

readline.parse_and_bind("\C-o: tab-insert")

and they work fine under Linux but on Windows they raise a KeyError.

I'm using the readline package from UNC Python Tools on Python 2.4.

Does anyone know how to fix this or is there even some other way to
insert an indent (do I have to type spaces?)?
Jul 19 '05 #1
0 874

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Nadav | last post: by
1 post views Thread by Nadav | last post: by
12 posts views Thread by Raymond Lewallen | last post: by
1 post views Thread by abolduc | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.