Table of Content

TAB complete is default for ipython, you can install for python as well.

1) install pyreadline

download from https://pypi.python.org/pypi/pyreadline/2.0

2) write small module to load

pyrl.py
import rlcompleter, readline
readline.parse_and_bind('tab: complete')

3) import pyrl after launch python shell

>>> import pyrl
>>> import os
>>> os.lis