3 ms·
Oh wait, you need to explicitly turn it on? How?
by dmishe 13y ago
Oh 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