4 ms·
> "Tab-completion is now enabled by default in the interactive interpreter." Thanks! Now I don't have to do this on every box anymore for using Python.
by arocks 13y ago
> "Tab-completion is now enabled by default in the interactive interpreter."
Thanks! Now I don't have to do this on every box anymore for using Python.
- dmishe 13y agoOh wait, you need to explicitly turn it on? How?
- Walkman 13y agoyou install IPython :)
- wylee 13y agoOr bpython.
- Jach 13y agoIn your $PYTHONSTARTUP file: import readline import rlcompleter readline.parse_and_bind('tab: complete')
- jsmeaton 13y agoDoesn't work on OSX like this. See below for portable version [1]. import readline import rlcompleter if 'libedit' in readline.__doc__: readline.parse_and_bind("bind ^I rl_complete") else: readline.parse_and_bind("tab: complete") [1] http://stackoverflow.com/a/7116997/10583 http://stackoverflow.com/a/7116997/10583
- yeukhon 13y agoWe need to enable reload module and memory memorizer like IPYthon
- digisign 13y agoIt's a shame usability is so far down the list of priorities, this could have been done a decade ago. After finding bpython this is a bit underwhelming. Perhaps they should just include it by default.