Hi everybody,
I have the following in my python startup file:
import readline, rlcompleter
readline.parse_and_bind("tab: complete")
This lets me tab complete identifiers in the interpreter beautifully, but
there's a tiny problem... If I'm sitting at the beginning of a blank line
and just want a tab, it tries to tab complete, which kind of a pain.
<BLINK>-=SIMULATED PYTHON PROMPT=-</BLINK>
>>> def mega_awesome_function(cool_stuff, **some_sweet_kwargs):
... X
(The X is where I press tab and get super annoyed)
I could just rebind the key, but i like tab ;-) Any suggestions?
Best regards,
Casey
--
http://mail.python.org/mailman/listinfo/python-list